dnscrypt-proxy/vendor/github.com/kyoh86/exportloopref/Makefile

17 lines
286 B
Makefile
Raw Normal View History

2021-07-03 10:56:53 +02:00
.PHONY: gen lint test install man
VERSION := `git vertag get`
COMMIT := `git rev-parse HEAD`
gen:
go generate ./...
lint: gen
golangci-lint run
test: lint
go test -v --race ./...
install: test
go install -a -ldflags "-X=main.version=$(VERSION) -X=main.commit=$(COMMIT)" ./...