David O'Connor 5 years ago
commit d5bbe7394e

@ -18,13 +18,13 @@ args = ["build", "--release"]
[tasks.create_wasm] [tasks.create_wasm]
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", min_version = "0.8.0" }
command = "wasm-pack" command = "wasm-pack"
args = ["build", "--target", "web", "--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", min_version = "0.8.0" }
command = "wasm-pack" command = "wasm-pack"
args = ["build", "--target", "web", "--out-name", "package"] args = ["build", "--target", "web", "--out-name", "package"]
@ -79,7 +79,7 @@ dependencies = ["fmt"]
description = "Run tests. Ex: 'cargo make test firefox'. Test envs: [chrome, firefox, safari]" description = "Run tests. Ex: 'cargo make test firefox'. Test envs: [chrome, firefox, safari]"
clear = true 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", min_version = "0.8.0" }
command = "wasm-pack" command = "wasm-pack"
args = ["test", "--${@}"] args = ["test", "--${@}"]

@ -1,6 +1,7 @@
# Seed Quickstart # Seed Quickstart
**To get started:** **To get started:**
- Clone this repo: `git clone https://github.com/david-oconnor/seed-quickstart.git` - Clone this repo: `git clone https://github.com/david-oconnor/seed-quickstart.git`
- If you don't have Rust and cargo-make installed, [Download it](https://www.rust-lang.org/tools/install), and run the following commands: - If you don't have Rust and cargo-make installed, [Download it](https://www.rust-lang.org/tools/install), and run the following commands:
@ -16,4 +17,3 @@ on `127.0.0.1:8000`.
If you'd like the compiler automatically check for changes, recompiling as If you'd like the compiler automatically check for changes, recompiling as
needed, run `cargo make watch` instead of `cargo make build`. needed, run `cargo make watch` instead of `cargo make build`.

Loading…
Cancel
Save