1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash cargo test --all --no-default-features cargo test --all --all-features # Install wasm-pack if it isn't installed yet if ! type wasm-pack > /dev/null; then cargo install wasm-pack fi wasm-pack test --firefox --headless