check / check (push) Successful in 3m17s
make dev ran yarn dev inline and there was no make build. Both are now shims, over script/dev and the new script/build. .prettierignore stops leaving out backend/, so backend/README.md is formatted and checked; backend/.golangci.yml is left out by name instead: it is the org standard file whose sha256 backend/script/lint checks, and prettier would reindent it. .claude/ stays in .prettierignore, as git does not ignore it. script/install-precommit and the date on bootstrap's pins go back to the org model; bootstrap, fmt and fmt-check keep what the Go backend and eslint need, each with a comment saying so. Model: opus-5-5
16 lines
374 B
Bash
Executable File
16 lines
374 B
Bash
Executable File
#!/bin/sh
|
|
# script/fmt-check: check formatting across the whole repo (read-only).
|
|
# Same scope as script/fmt, but fails instead of writing.
|
|
# The org model checks only markdown; this repo also has JS and Go.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
"$ROOT/script/frontend-fmt-check"
|
|
"$ROOT/backend/script/fmt-check"
|
|
}
|
|
|
|
main "$@"
|