Set up Mage build targets
Add magefiles/magefile.go with build automation targets: - Test() - runs go test -v ./... - Coverage() - runs tests with coverage profile output - Lint() - runs staticcheck for static analysis - Fmt() - formats all Go source files with gofmt - Vet() - runs go vet for code analysis - Check() - runs all quality checks in sequence (fmt, vet, lint, test) - Clean() - removes build artifacts Update magefiles/go.mod with github.com/magefile/mage dependency. Closes checkvist-api-8q3
This commit is contained in:
parent
04258f1e27
commit
bf4d899eb8
4 changed files with 62 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
module code.beautifulmachines.dev/jakoubek/checkvist-api/magefiles
|
||||
|
||||
go 1.21
|
||||
|
||||
require github.com/magefile/mage v1.15.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue