2021-02-05 23:49:47 +01:00
|
|
|
install-deps:
|
|
|
|
go mod download
|
|
|
|
|
|
|
|
# Standard go test
|
|
|
|
test:
|
|
|
|
go test ./... -v -race
|
|
|
|
|
|
|
|
# Make sure no unnecessary dependencies are present
|
|
|
|
go-mod-tidy:
|
|
|
|
go mod tidy -v
|
|
|
|
git diff-index --quiet HEAD
|
|
|
|
|
|
|
|
format:
|
|
|
|
go fmt $(go list ./... | grep -v /vendor/)
|
|
|
|
go vet $(go list ./... | grep -v /vendor/)
|
2021-02-07 11:46:25 +01:00
|
|
|
|
|
|
|
build/snapshot:
|
|
|
|
./tools/goreleaser_linux_amd64 --snapshot --rm-dist --skip-publish
|
|
|
|
|
|
|
|
build/release:
|
|
|
|
./tools/goreleaser_linux_amd64 --rm-dist --skip-publish
|