don/Makefile

34 lines
502 B
Makefile
Raw Normal View History

2021-06-14 14:48:39 +02:00
.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
.PHONY: test
test:
go test -v -race -cover -tags=integration ./... -timeout=120m
.PHONY: tidy
tidy:
go mod tidy
go mod vendor
2021-06-15 10:48:12 +02:00
.PHONY: readme
readme:
goreadme \
-title don \
-credit=false \
-functions \
-types \
> README.md