woodpecker/vendor/github.com/ldez/gomoddirectives/Makefile
Lukas c28f7cb29f
Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00

15 lines
232 B
Makefile

.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/