1234567891011121314151617181920212223242526 |
- #!/bin/sh
- set -e
- set -v
- EXCLUSIONS="--exclude=SC1117"
- myname=$(basename "$0")
- echo "$myname: finding chutney directory"
- TEST_DIR=$(dirname "$0")
- CHUTNEY_DIR=$(dirname "$TEST_DIR")
- echo "$myname: changing to chutney directory"
- cd "$CHUTNEY_DIR"
- echo "$myname: running shellcheck tests with $EXCLUSIONS"
- shellcheck "$EXCLUSIONS" chutney
- find . -name "*.sh" -exec shellcheck "$EXCLUSIONS" {} +
|