diff options
-rwxr-xr-x | check | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |