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 | |
parent | e9b0671dbc59995017bc6129bff3264014561ebc (diff) | |
download | subplot-ffd02914bdbb1a07250992ccb41251e17959bfa5.tar.gz |
Change: run ./check in Debian package build
-rwxr-xr-x | check | 5 | ||||
-rwxr-xr-x | debian/rules | 2 |
2 files changed, 5 insertions, 2 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 diff --git a/debian/rules b/debian/rules index a6a7062..918bec3 100755 --- a/debian/rules +++ b/debian/rules @@ -10,4 +10,4 @@ override_dh_auto_install: cargo install --path=. --root=debian/subplot override_dh_auto_test: - true + ./check |