Browse Source

git-hooks: keep cargo test and clippy in debug mode

This way env var BUILD_DUMMY_WASM_BINARY with cargo build --release
Mokhtar Naamani 4 years ago
parent
commit
245740e954
1 changed files with 2 additions and 2 deletions
  1. 2 2
      devops/git-hooks/pre-push

+ 2 - 2
devops/git-hooks/pre-push

@@ -2,9 +2,9 @@
 set -e
 
 echo '+cargo test --release --all'
-BUILD_DUMMY_WASM_BINARY=1 cargo test --release --all
+BUILD_DUMMY_WASM_BINARY=1 cargo test --all
 
 echo '+cargo clippy --release --all -- -D warnings'
-BUILD_DUMMY_WASM_BINARY=1 cargo clippy --release --all -- -D warnings
+BUILD_DUMMY_WASM_BINARY=1 cargo clippy --all -- -D warnings