mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-11 19:16:32 +00:00
c28f7cb29f
Initial part of #435
15 lines
232 B
Makefile
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/
|