mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-12 11:36:29 +00:00
26 lines
339 B
Makefile
26 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
|