fortlit/Makefile

24 lines
417 B
Makefile
Raw Normal View History

2021-02-26 13:53:44 +01:00
.PHONY: generate
generate:
go generate -v
.PHONY: build
build:
goreleaser build --rm-dist --snapshot
.PHONY: release
release:
goreleaser release --rm-dist --snapshot --skip-publish
.PHONY: test
test:
GOFLAGS=-mod=vendor go test -race -cover -v ./...
.PHONY: lint
lint:
golangci-lint run --enable-all --disable gomnd --disable godox --disable exhaustivestruct --timeout 5m
.PHONY: clean
clean:
rm -rf dist/