Ver código fonte

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 anos atrás
pai
commit
245740e954
1 arquivos alterados com 2 adições e 2 exclusões
  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