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
|