mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 09:20:31 +00:00
c28f7cb29f
Initial part of #435
25 lines
339 B
Makefile
25 lines
339 B
Makefile
.PHONY: dep
|
|
dep:
|
|
go mod tidy && go mod verify
|
|
|
|
.PHONY: test
|
|
test:
|
|
go test ./...
|
|
|
|
.PHONY: cover
|
|
cover:
|
|
go test -coverprofile cover.out ./...
|
|
go tool cover -html=cover.out
|
|
rm -f cover.out
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
golangci-lint run
|
|
|
|
.PHONY: build
|
|
build:
|
|
go build -o godot ./cmd/godot
|
|
|
|
.PHONY: release
|
|
release:
|
|
goreleaser release --rm-dist
|