Makefile cleanup

This commit is contained in:
Katrina Verey
2022-03-31 18:29:33 -04:00
parent 672c751715
commit 2a9adbeb1e
10 changed files with 281 additions and 275 deletions

View File

@@ -3,6 +3,8 @@ ifeq ($(MYGOBIN),)
MYGOBIN = $(shell go env GOPATH)/bin
endif
include ../../Makefile-tools.mk
$(MYGOBIN)/gorepomod: usage.go
go install .
@@ -13,6 +15,3 @@ test: $(MYGOBIN)/gorepomod
usage.go: README.md $(MYGOBIN)/goimports
go generate . \
$(MYGOBIN)/goimports -w usage.go
$(MYGOBIN)/goimports:
go install golang.org/x/tools/cmd/goimports