#!/bin/sh # script/frontend-check: run the frontend half of the checks only (test, # lint, fmt-check). This exists for the frontend Dockerfile, whose build # stage is a node image with no Go toolchain; the backend half is gated # by Dockerfile.backend. Everywhere else, use script/check, which covers # the whole repo. Must not modify any files. set -eu SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)" main() { "$SCRIPT_DIR/frontend-test" "$SCRIPT_DIR/frontend-lint" "$SCRIPT_DIR/frontend-fmt-check" } main "$@"