fix: add generate dependency to test and vet Makefile targets

make test and make vet fail on a fresh clone because the go:embed
workspace directory does not exist until go generate runs. The build
target already depends on generate, but test and vet did not.

Also fixes the test target comment which incorrectly read '## fmt: Format Go code'.
This commit is contained in:
esubaalew
2026-02-23 15:45:04 +03:00
parent 8774526616
commit 89bc7aaea5
+2 -2
View File
@@ -129,11 +129,11 @@ clean:
@echo "Clean complete"
## vet: Run go vet for static analysis
vet:
vet: generate
@$(GO) vet ./...
## test: Test Go code
test:
test: generate
@$(GO) test ./...
## fmt: Format Go code