Had to make the tests pass for the new page gen.

This commit is contained in:
Zed A. Shaw 2025-07-05 22:19:44 -04:00
parent c64874cb51
commit 23bda88b29
2 changed files with 12 additions and 14 deletions

View file

@ -5,24 +5,25 @@ ifeq '$(OS)' 'Windows_NT'
endif
build:
build: site
go build .
site:
go run tools/cmd/sitebuild/main.go
test: site
go test zedshaw.games/webapp/tests -c -o runtests$(GO_IS_STUPID_EXE)
./runtests$(GO_IS_STUPID_EXE)
migrate_up:
go tool goose sqlite3 db.sqlite3 -dir migrations up
migrate_down:
go tool goose sqlite3 db.sqlite3 -dir migrations down
html:
go tool qtc -dir templates
docs:
go tool pkgsite --open
test:
go test zedshaw.games/webapp/tests -c -o runtests$(GO_IS_STUPID_EXE)
./runtests$(GO_IS_STUPID_EXE)
dev:
go tool air -build.stop_on_error "true"
@ -37,6 +38,3 @@ cover_report:
go tool cover -func=coverage.txt
go tool cover -html=coverage.txt -o coverage.html
open coverage.html
site:
go run tools/cmd/sitebuild/main.go