#!/bin/sh # script/frontend-check: run the frontend half of the checks only (test, # lint, fmt-check). This exists for the frontend stage of Dockerfile, a # node image with neither Go nor Docker; the Dockerfile's lint and # backend build stages gate the backend half. Everywhere else, use # script/check, which covers the whole repo. Must not modify any files. set -eu ROOT="$(cd "$(dirname "$0")/.." && pwd -P)" main() { cd "$ROOT" "$ROOT/script/frontend-test" "$ROOT/script/frontend-lint" "$ROOT/script/frontend-fmt-check" } main "$@"