saves disk space. cargo test and cargo build always now seem to rebuild wasm after a clippy run which we were trying to protect againt by not using release for test and clippy
@@ -3,10 +3,8 @@ set -e
export WASM_BUILD_TOOLCHAIN=nightly-2020-05-23
-echo '+cargo test --all'
-cargo test --all
-
echo '+cargo clippy --all -- -D warnings'
-BUILD_DUMMY_WASM_BINARY=1 cargo clippy --all -- -D warnings
+BUILD_DUMMY_WASM_BINARY=1 cargo clippy --release --all -- -D warnings
+echo '+cargo test --all'
+cargo test --release --all