workgroups/vendor/github.com/kyoh86/exportloopref/Makefile
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00

17 lines
286 B
Makefile

.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)" ./...