don/Makefile

37 lines
584 B
Makefile
Raw Permalink 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 \
2021-06-21 10:06:12 +02:00
-import-path go.xsfx.dev/don \
-badge-goreportcard \
-badge-godoc \
2021-06-15 10:48:12 +02:00
-credit=false \
-functions \
-types \
2021-06-22 12:33:41 +02:00
-skip-sub-packages \
2021-06-15 10:48:12 +02:00
> README.md