From 2ee74e4e028dfc9deb857705a25aa93f400e3ad7 Mon Sep 17 00:00:00 2001 From: David O'Connor Date: Tue, 16 Jul 2019 14:34:50 +0400 Subject: [PATCH] Fixed auto-installation of wasm-pack --- Makefile.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index e855b2d..fc33e76 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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"]