|
|
@ -20,19 +20,24 @@ args = ["build", "--release"]
|
|
|
|
description = "Build with wasm-pack"
|
|
|
|
description = "Build with wasm-pack"
|
|
|
|
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
|
|
|
|
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
|
|
|
|
command = "wasm-pack"
|
|
|
|
command = "wasm-pack"
|
|
|
|
args = ["build", "--target", "no-modules", "--out-name", "package", "--dev"]
|
|
|
|
args = ["build", "--target", "web", "--out-name", "package", "--dev"]
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.create_wasm_release]
|
|
|
|
[tasks.create_wasm_release]
|
|
|
|
description = "Build with wasm-pack"
|
|
|
|
description = "Build with wasm-pack"
|
|
|
|
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
|
|
|
|
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
|
|
|
|
command = "wasm-pack"
|
|
|
|
command = "wasm-pack"
|
|
|
|
args = ["build", "--target", "no-modules", "--out-name", "package"]
|
|
|
|
args = ["build", "--target", "web", "--out-name", "package"]
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.build]
|
|
|
|
[tasks.build]
|
|
|
|
description = "Build, and create wasms"
|
|
|
|
description = "Build, and create wasms"
|
|
|
|
workspace = false
|
|
|
|
workspace = false
|
|
|
|
dependencies = ["compile", "create_wasm"]
|
|
|
|
dependencies = ["compile", "create_wasm"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.build_release]
|
|
|
|
|
|
|
|
description = "Build, and create wasms, with the release flag"
|
|
|
|
|
|
|
|
workspace = false
|
|
|
|
|
|
|
|
dependencies = ["compile_release", "create_wasm_release"]
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.watch]
|
|
|
|
[tasks.watch]
|
|
|
|
description = "Build, create wasms, and watch/recompile files for changes"
|
|
|
|
description = "Build, create wasms, and watch/recompile files for changes"
|
|
|
|
workspace = false
|
|
|
|
workspace = false
|
|
|
|