|
|
|
@ -20,6 +20,12 @@ install_crate = { crate_name = "trunk", binary = "trunk", test_arg = "--help" }
@@ -20,6 +20,12 @@ install_crate = { crate_name = "trunk", binary = "trunk", test_arg = "--help" }
|
|
|
|
|
[tasks.install-wasm-bindgen-cli] |
|
|
|
|
install_crate = { crate_name = "wasm-bindgen-cli", binary = "wasm-bindgen", test_arg = "--help" } |
|
|
|
|
|
|
|
|
|
[tasks.build-web-example] |
|
|
|
|
dependencies = ["install-trunk", "install-wasm-bindgen-cli"] |
|
|
|
|
cwd = "examples/web" |
|
|
|
|
command = "trunk" |
|
|
|
|
args = ["build"] |
|
|
|
|
|
|
|
|
|
[tasks.run-web-example] |
|
|
|
|
dependencies = ["install-trunk", "install-wasm-bindgen-cli"] |
|
|
|
|
cwd = "examples/web" |
|
|
|
|