pre-push
1 #!/usr/bin/env bash 2 3 set -euo pipefail 4 5 echo '+cargo fmt --all -- --check' 6 cargo fmt --all -- --check 7 8 echo '+cargo clippy --all-features --all-targets -- -D warnings' 9 cargo clippy --all-features --all-targets -- -D warnings 10 11 echo '+cargo test --all' 12 cargo test --all 13 14 echo '+./maint/common/shellcheck-all' 15 ./maint/common/shellcheck-all