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

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