15 lines
330 B
Bash
Executable File
15 lines
330 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# script/check: run all checks (test, lint, fmt-check). Our own
|
|
# extension to scripts-to-rule-them-all. Must not modify any files.
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
|
|
|
|
main() {
|
|
"$SCRIPT_DIR/test"
|
|
"$SCRIPT_DIR/lint"
|
|
"$SCRIPT_DIR/fmt-check"
|
|
}
|
|
|
|
main "$@"
|