2021-08-17 22:20:28 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# This hook was set by cargo-husky v1.5.0: https://github.com/rhysd/cargo-husky#readme
|
|
|
|
#
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2021-08-25 22:53:22 +01:00
|
|
|
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
|
2021-08-17 22:20:28 +01:00
|
|
|
|
|
|
|
echo '+cargo test --all'
|
|
|
|
cargo test --all
|
|
|
|
|
2022-02-03 18:14:57 +00:00
|
|
|
echo '+./maint/shellcheck_all'
|
|
|
|
./maint/shellcheck_all
|