Contributing
Prerequisites
The technical prerequisites for contributing to this project are the same as for using it. You can find them documented here.
You'll also want to check out the contributing guidelines.
🏃♀️ Up and Running
- fork and clone the
rustwasm/wasm-pack
repository - install [node/npm]
cd wasm-pack
cargo run
. To test command line arguments you can runcargo run -- <args>
.
Documentation
Documentation lives in the /docs
directory. Each command has its own page.
Additionally there are extra pages explaining the prerequisites, setup, and how to
contribute (which you are reading now!).
Tests
Tests live in the /tests
directory. To run the tests you can run:
cargo test
You can also manually test the CLI tool by running:
cargo run -- <args>
...for example:
cargo run -- init /tests/fixtures/js-hello-world --scope=ag_dubs