Skip to content

Commit

Permalink
Ensure targets exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Mar 13, 2024
1 parent 0c97a59 commit d0aee91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cargo-husky/hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -e

if [[ ! -f "target/wasm32-unknown-unknown/test-wasms/test_custom_types.wasm" ]]; then
make build-test-wasms
fi

echo '+cargo fmt --check'
cargo fmt --check || (cargo fmt && exit 1)

Expand Down

0 comments on commit d0aee91

Please sign in to comment.