Fixed auto-installation of wasm-pack

master
David O'Connor 5 years ago
parent 454bbdee7a
commit 2ee74e4e02

@ -18,13 +18,13 @@ args = ["build", "--release"]
[tasks.create_wasm]
description = "Build with wasm-pack"
install_crate = "wasm-pack"
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
command = "wasm-pack"
args = ["build", "--target", "no-modules", "--out-name", "package", "--dev"]
[tasks.create_wasm_release]
description = "Build with wasm-pack"
install_crate = "wasm-pack"
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
command = "wasm-pack"
args = ["build", "--target", "no-modules", "--out-name", "package"]

Loading…
Cancel
Save