Skip to content

Commit b873994

Browse files
committed
build: run go generate before tests
The test target needs templ-generated files to be up to date. Run go generate before go test to ensure they are present. Signed-off-by: Robin Jarry <robin@jarry.cc>
1 parent f1a2f4c commit b873994

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ license_exclude = ':!:*.md' ':!:*.asc' ':!:*.yaml' ':!:docs/requirements.txt' ':
5353

5454
.PHONY: test
5555
test:
56+
$(GO) generate ./...
5657
$(GO) test ./...
5758

5859
.PHONY: lint

0 commit comments

Comments
 (0)