jellyfixer/Makefile

23 lines
430 B
Makefile
Raw Normal View History

2020-12-03 12:07:03 +01:00
.PHONY: generate build release test lint dep-update
generate:
GOFLAGS=-mod=vendor go generate ./...
build:
goreleaser build --rm-dist --snapshot
release:
goreleaser release --rm-dist --snapshot --skip-publish
test:
GOFLAGS=-mod=vendor go test -race -cover -v ./...
lint:
golangci-lint run --enable-all --disable gomnd --disable godox --timeout 5m
dep-update:
go get -u ./...
go test ./...
go mod tidy
go mod vendor