diff --git a/Makefile.toml b/Makefile.toml index e35caad5..b3c0081d 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -85,8 +85,7 @@ dependencies = ["install_wasm"] env = { RUSTFLAGS = "-C link-arg=-s" } [tasks.schema] -args = ["run", "--bin", "schema"] -command = "cargo" +workspace = true [tasks.check_contracts] dependencies = ["wasm"] diff --git a/contracts/cw-template/Makefile.toml b/contracts/cw-template/Makefile.toml new file mode 100644 index 00000000..9a13bf0b --- /dev/null +++ b/contracts/cw-template/Makefile.toml @@ -0,0 +1,3 @@ +[tasks.schema] +args = ["run", "--bin", "schema"] +command = "cargo"