|
|
|
@ -33,6 +33,12 @@ description = "Build, and create wasms"
|
|
|
|
|
workspace = false
|
|
|
|
|
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]
|
|
|
|
|
description = "Build, and create wasms, with the --release flag"
|
|
|
|
|
workspace = false
|
|
|
|
@ -76,4 +82,4 @@ clear = true
|
|
|
|
|
workspace = false
|
|
|
|
|
install_crate = { crate_name = "wasm-pack", binary = "wasm-pack", test_arg = "-V" }
|
|
|
|
|
command = "wasm-pack"
|
|
|
|
|
args = ["test", "--firefox", "--headless", "--", "--lib", "${@}"]
|
|
|
|
|
args = ["test", "--firefox", "--headless", "--", "--lib", "${@}"]
|
|
|
|
|