From df0001dbc3e10bc965f1a40768cb5ceb836d878b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Tue, 3 Oct 2023 12:56:16 +0200 Subject: [PATCH] chore: avoid copying Cargo.toml to generated components Copy only the worker configuration --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index 97b1c23..7969051 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -18,7 +18,7 @@ rust-params: $(COMPONENTS): mkdir -p $@ make $(@:components/%=%) - cp $(@:components/%=%)/*.toml $@/ + cp $(@:components/%=%)/$(@:components/%=%).toml $@/ wasm-tools component new $(@:components/%=%)/$(@:components/%=%).wasm \ --adapt wasi_snapshot_preview1=components/wasi-component-adapter/wasi_snapshot_preview1-command.wasm \ -o $@/$(@:components/%=%).wasm