From 7a0ee4c05021d24f0e1e4aae2bd515f0a7c23232 Mon Sep 17 00:00:00 2001 From: Matteo Bertini Date: Thu, 24 Oct 2019 12:56:48 +0200 Subject: [PATCH 1/2] Update Makefile.toml to check for wasm-pack min version - `--out-name` option was added in release 0.8.0 --- Makefile.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 7c44bbf..b0e9e51 100755 --- a/Makefile.toml +++ b/Makefile.toml @@ -18,13 +18,13 @@ args = ["build", "--release"] [tasks.create_wasm] 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" args = ["build", "--target", "web", "--out-name", "package", "--dev"] [tasks.create_wasm_release] 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" args = ["build", "--target", "web", "--out-name", "package"] @@ -74,7 +74,7 @@ dependencies = ["fmt"] description = "Run tests. Ex: 'cargo make test firefox'. Test envs: [chrome, firefox, safari]" clear = true 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" args = ["test", "--${@}"] From 3ae5f7d719f4d0f267f10a97289620ff99c08454 Mon Sep 17 00:00:00 2001 From: Matteo Bertini Date: Thu, 24 Oct 2019 12:57:20 +0200 Subject: [PATCH 2/2] Cosmetics in README to make a markdown linter happier --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e301cc2..aaeee82 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Seed Quickstart **To get started:** + - 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: @@ -16,4 +17,3 @@ on `127.0.0.1:8000`. If you'd like the compiler automatically check for changes, recompiling as needed, run `cargo make watch` instead of `cargo make build`. -