woodpecker/vendor/github.com/ldez/gomoddirectives/Makefile

16 lines
232 B
Makefile
Raw Normal View History

.PHONY: clean check test build
default: clean check test build
clean:
rm -rf dist/ cover.out
test: clean
go test -v -cover ./...
check:
golangci-lint run
build:
go build -v -ldflags "-s -w" -trimpath ./cmd/gomoddirectives/