prefer-make
Installation
SKILL.md
Build with Make
This project uses a Makefile. Always prefer make targets over running go commands directly.
Rules
- Check the Makefile first before running any
go build,go test,go run,go vet,go fmt, orgolangci-lintcommand. Look for a corresponding target. - Use the Makefile target instead of the raw
gocommand. For example:make buildinstead ofgo build ./...make testinstead ofgo test ./...make lintinstead ofgolangci-lint runmake runinstead ofgo run main.gomake fmtinstead ofgo fmt ./...
- Run
make helpto discover targets. If that fails, read the Makefile directly. - Fall back to raw
gocommands only if no relevant Makefile target exists for the task.