workgroups/Makefile
Marvin Preuss 9ae39f59f5
Some checks failed
continuous-integration/drone/push Build is failing
added files
2021-09-24 14:51:46 +02:00

33 lines
510 B
Makefile

.PHONY: build
build:
goreleaser build --rm-dist --snapshot
.PHONY: release
release:
goreleaser release --rm-dist --snapshot --skip-publish
.PHONY: generate
generate:
go generate
.PHONY: lint
lint:
golangci-lint run --enable-all --disable=exhaustivestruct,godox
.PHONY: test
test:
go test -v \
-race \
-coverprofile coverage.out \
./...
go tool cover -func coverage.out
.PHONY: tidy
tidy:
go mod tidy
go mod vendor
.PHONY: coverage
coverage:
gocover-cobertura < coverage.out > coverage.xml