Marvin Steadfast
7ed6294563
Some checks are pending
continuous-integration/drone/push Build is running
34 lines
502 B
Makefile
34 lines
502 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
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test -v -race -cover -tags=integration ./... -timeout=120m
|
|
|
|
.PHONY: tidy
|
|
tidy:
|
|
go mod tidy
|
|
go mod vendor
|
|
|
|
.PHONY: readme
|
|
readme:
|
|
goreadme \
|
|
-title don \
|
|
-credit=false \
|
|
-functions \
|
|
-types \
|
|
> README.md
|