summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck6
1 files changed, 5 insertions, 1 deletions
diff --git a/check b/check
index b55a411..606241e 100755
--- a/check
+++ b/check
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -eu
@@ -48,9 +48,13 @@ docgen() {
$hideok cargo build --all-targets
if cargo --list | awk '{ print $1 }' | grep 'clippy$' > /dev/null
then
+ # shellcheck disable=SC2086
cargo clippy $quiet
fi
+
+# shellcheck disable=SC2086
$hideok cargo test $quiet
+
if cargo fmt --help > /dev/null 2> /dev/null
then
$hideok cargo fmt -- --check