|
|
@ -108,7 +108,10 @@ release-minor: bump-minor git-push
|
|
|
|
release-patch: bump-patch git-push
|
|
|
|
release-patch: bump-patch git-push
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup: setup-dirs setup-build setup-format setup-lint setup-reports setup-bump
|
|
|
|
setup: setup-dirs setup-build setup-format setup-lint setup-reports setup-bump setup-stringer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup-stringer:
|
|
|
|
|
|
|
|
go install golang.org/x/tools/cmd/stringer@latest
|
|
|
|
|
|
|
|
|
|
|
|
setup-bump:
|
|
|
|
setup-bump:
|
|
|
|
go install github.com/guilhem/bump@latest
|
|
|
|
go install github.com/guilhem/bump@latest
|
|
|
@ -149,10 +152,13 @@ format:
|
|
|
|
dep:
|
|
|
|
dep:
|
|
|
|
$(GODEP) $(PKG)/...
|
|
|
|
$(GODEP) $(PKG)/...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gen:
|
|
|
|
|
|
|
|
$(GOCMD) generate
|
|
|
|
|
|
|
|
|
|
|
|
lint: setup-dirs dep
|
|
|
|
lint: setup-dirs dep
|
|
|
|
$(GOLINT) "$(PKGDIR)" | tee "$(RPTDIR)/lint.out"
|
|
|
|
$(GOLINT) "$(PKGDIR)" | tee "$(RPTDIR)/lint.out"
|
|
|
|
|
|
|
|
|
|
|
|
check: setup-dirs clean dep
|
|
|
|
check: setup-dirs clean dep setup-stringer gen
|
|
|
|
$(GOTEST) $$(go list "$(PKG)/..." | grep -v /vendor/) | tee "$(RPTDIR)/test.out"
|
|
|
|
$(GOTEST) $$(go list "$(PKG)/..." | grep -v /vendor/) | tee "$(RPTDIR)/test.out"
|
|
|
|
|
|
|
|
|
|
|
|
bench: setup-dirs clean dep
|
|
|
|
bench: setup-dirs clean dep
|
|
|
|