pkgdash/Makefile

13 lines
255 B
Makefile

.PHONY: build
build:
go build -o bin/app -mod=readonly ./main.go
.PHONY: test
test:
go test -v ./... -race -cover
.PHONY: lint
lint:
# Install the binary release of golangci-lint
# https://github.com/golangci/golangci-lint#install
golangci-lint run