arti/.cargo-husky/hooks/pre-push

19 lines
393 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# This hook was set by cargo-husky v1.5.0: https://github.com/rhysd/cargo-husky#readme
#
set -e
echo '+cargo fmt --all -- --check'
cargo fmt --all -- --check
2021-12-09 13:51:42 +00:00
echo '+cargo clippy --all-features --all-targets -- -D warnings'
cargo clippy --all-features --all-targets -- -D warnings
echo '+cargo test --all'
cargo test --all
echo '+./maint/shellcheck_all'
./maint/shellcheck_all