diff --git a/Makefile.toml b/Makefile.toml index d5cda6b..97655f3 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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"