diff options
-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 |