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
|
|
@ -0,0 +1,2 @@
|
|||
github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=
|
||||
github.com/magefile/mage v1.15.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
|
||||
Loading…
Add table
Add a link
Reference in a new issue