summaryrefslogtreecommitdiff
path: root/.cargo-husky/hooks/pre-push
blob: 29dc35140c1316d066b529de4e0fc75edb3f7635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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

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.sh'
./maint/shellcheck_all.sh