16 lines
350 B
Bash
Executable File
16 lines
350 B
Bash
Executable File
#!/bin/sh
|
|
# script/check: run all checks (test, test-verify-build, lint, fmt-check).
|
|
# Our own extension to scripts-to-rule-them-all. Must not modify any files.
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
|
|
|
main() {
|
|
"$SCRIPT_DIR/test"
|
|
"$SCRIPT_DIR/test-verify-build"
|
|
"$SCRIPT_DIR/lint"
|
|
"$SCRIPT_DIR/fmt-check"
|
|
}
|
|
|
|
main "$@"
|