diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-18 08:44:41 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-18 19:49:01 +0300 |
commit | 1b8ee07b4a241ad4bf69e4c5210166f4a4216e30 (patch) | |
tree | fa02e8270a78cd1d5997db59309ed9fa71430ccd /check | |
parent | d60b331f701e0714dff6343657910ae579e72c29 (diff) | |
download | obnam2-1b8ee07b4a241ad4bf69e4c5210166f4a4216e30.tar.gz |
fix check to run rustfmt via cargo
Diffstat (limited to 'check')
-rwxr-xr-x | check | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -18,11 +18,7 @@ fi cargo build --all-targets $quiet cargo clippy $quiet +cargo fmt -- --check $hideok cargo test $quiet -if command -v rustfmt > /dev/null -then - find src -type f -name '*.rs' -exec rustfmt --check '{}' + -fi - echo "Everything seems to be in order." |