15 lines
242 B
Makefile
15 lines
242 B
Makefile
|
|
BIN ?= dist/srv
|
|
|
|
build: ## Builds the binary
|
|
go build -o $(BIN)
|
|
.PHONY: build
|
|
|
|
test: ## Run unit tests
|
|
go test -v ./...
|
|
.PHONY: test
|
|
|
|
lint: ## Run lint
|
|
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0
|
|
golangci-lint run
|