diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-10 09:23:16 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-10 09:23:16 +0200 |
commit | ffd02914bdbb1a07250992ccb41251e17959bfa5 (patch) | |
tree | 6f48510c17b003f3ce4c572890e338bb3a399ac8 /check | |
parent | e9b0671dbc59995017bc6129bff3264014561ebc (diff) | |
download | subplot-ffd02914bdbb1a07250992ccb41251e17959bfa5.tar.gz |
Change: run ./check in Debian package build
Diffstat (limited to 'check')
-rwxr-xr-x | check | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,10 @@ docgen() { cargo clippy -q cargo test -q -find src -type f -name '*.rs' -exec rustfmt --check '{}' + +if command -v rustfmt > /dev/null +then + find src -type f -name '*.rs' -exec rustfmt --check '{}' + +fi for md in [^R]*.md do |