#!/bin/sh # script/check: run all checks (test, lint, fmt-check). Our own # extension to scripts-to-rule-them-all. Must not modify any files. # # script/lint builds Dockerfile.lint, so this script requires docker and # must never be run from inside a container: that is why the Dockerfile # image runs script/test and script/build rather than this. set -eu SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)" main() { "$SCRIPT_DIR/test" "$SCRIPT_DIR/lint" "$SCRIPT_DIR/fmt-check" } main "$@"