Extract Alpine.js in script/test so the pre-commit hook works
check / check (push) Successful in 4m58s

The extraction moves from the Makefile's assets target into
script/assets. script/test runs it before the tests, so make test,
make check, script/check and the pre-commit hook all get the file on a
fresh clone; make assets, make build and make dev call the same script.
The README now says only that nothing downloads Alpine.js.

Model: opus-5-5
This commit is contained in:
2026-10-01 18:39:40 +00:00
parent 2fc8e19fc4
commit 2da0561264
5 changed files with 40 additions and 25 deletions
+1
View File
@@ -28,6 +28,7 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
main() {
cd "$ROOT"
"$ROOT/script/assets"
go test -v -race -timeout 90s ./...
}