Skip to content

Commit

Permalink
Add doc for --skip-build
Browse files Browse the repository at this point in the history
  • Loading branch information
kohensu committed Jun 13, 2018
1 parent 09046aa commit 365813e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,15 @@ The exact meaning of this flag may evolve as the platform matures.

[npm-scope-documentation]: https://docs.npmjs.com/misc/scope
[cargo-profile-sections-documentation]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-profile-sections

## Skipping build

The init command accepts an optional `--skip-build` argument.

This will deactivate those steps:
- installing wasm target (via cargo)
- compiling the code to wasm
- installing wasm-bindgen (via rustup)
- running wasm-bindgen on the built wasm

Basically it will remains only the steps that update the metadata of `package.json`.

0 comments on commit 365813e

Please sign in to comment.