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
354 B
Bash
Executable File
16 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
# script/fmt: format the whole repo (writes): prettier over everything
|
|
# it understands, then gofmt over the Go backend.
|
|
# The org model formats only markdown; this repo also has JS and Go.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
"$ROOT/script/frontend-fmt"
|
|
"$ROOT/backend/script/fmt"
|
|
}
|
|
|
|
main "$@"
|