Parcourir la 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 il y a 4 ans
Parent
commit
245740e954
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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