From 37f5bfdf0219dca4c2d42f42072068aab1663344 Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Thu, 7 May 2020 16:30:17 +0100 Subject: [PATCH] Simplified and corrected wasm-pack build instructions --- clients/webassembly/js-example/README.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/clients/webassembly/js-example/README.md b/clients/webassembly/js-example/README.md index c71b403be9..7012ffed3e 100644 --- a/clients/webassembly/js-example/README.md +++ b/clients/webassembly/js-example/README.md @@ -12,17 +12,6 @@ Check your dev console for output. ### Rebuild after Rust source changes -`./wasm-pack build` in the `nym-sphinx-wasm` directory (one up) will rebuild the wasm package if you make changes to the Rust source. That will be automatically picked up (and reloaded, if need be) by the npm dev server. - -### How was this built? - -This is a skeleton demo app, built from a template at: https://github.com/rustwasm/create-wasm-app - -See the [Rust WASM tutorial](https://rustwasm.github.io/docs/book/game-of-life/hello-world.html) for more. This was generated using the command `npm init wasm-app www` in case you'd like to see where it came from originally. - -### License - -Licensed under - -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) +Install `wasm-pack`. Instruction are at the [Rust WASM tutorial](https://rustwasm.github.io/docs/book/game-of-life/hello-world.html). +`wasm-pack build` in the `clients/webassembly` directory (one up) will rebuild the wasm package if you make changes to the Rust source. That will be automatically picked up (and reloaded, if need be) by the npm dev server. \ No newline at end of file