gitbutler/scripts/check.sh

18 lines
249 B
Bash
Raw Normal View History

#!/bin/bash
2023-10-16 17:23:53 +03:00
echo ------ cargo check
cargo c --all-features
2023-10-16 17:23:53 +03:00
echo ------ cargo clippy
cargo clippy --all-features
2023-10-16 17:23:53 +03:00
cargo clippy --tests
echo ------ cargo test
cargo t
2023-10-16 17:23:53 +03:00
echo ------ cargo fmt
cargo fmt --check
2023-10-16 17:23:53 +03:00
echo ------ cargo sort
cargo sort -c -w