#!/bin/sh
# script/check: run all checks (fmt-check, lint, test). 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/fmt-check"
    "$SCRIPT_DIR/lint"
    "$SCRIPT_DIR/test"
}

main "$@"
