aboutsummaryrefslogtreecommitdiff
path: root/.cargo-husky/hooks/pre-push
blob: f13e3be9e54075664e84f9bfe86d60e5effe0745 (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'
./maint/shellcheck_all