|
|
@ -33,6 +33,12 @@ description = "Build, and create wasms"
|
|
|
|
workspace = false
|
|
|
|
workspace = false
|
|
|
|
dependencies = ["build", "create_wasm"]
|
|
|
|
dependencies = ["build", "create_wasm"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.watch]
|
|
|
|
|
|
|
|
description = "watch code, build, and create wasms"
|
|
|
|
|
|
|
|
workspace = false
|
|
|
|
|
|
|
|
dependencies = ["build", "create_wasm"]
|
|
|
|
|
|
|
|
watch = { ignore_pattern="pkg/*" }
|
|
|
|
|
|
|
|
|
|
|
|
[tasks.all_release]
|
|
|
|
[tasks.all_release]
|
|
|
|
description = "Build, and create wasms, with the --release flag"
|
|
|
|
description = "Build, and create wasms, with the --release flag"
|
|
|
|
workspace = false
|
|
|
|
workspace = false
|
|
|
@ -76,4 +82,4 @@ clear = true
|
|
|
|
workspace = false
|
|
|
|
workspace = false
|
|
|
|
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 = ["test", "--firefox", "--headless", "--", "--lib", "${@}"]
|
|
|
|
args = ["test", "--firefox", "--headless", "--", "--lib", "${@}"]
|
|
|
|