Explorar o código

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

This way env var BUILD_DUMMY_WASM_BINARY with cargo build --release
Mokhtar Naamani %!s(int64=4) %!d(string=hai) anos
pai
achega
245740e954
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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