@@ -171,19 +171,19 @@ all: test-ci-unit test-ci-integration services tools
171171.PHONY : install-tools
172172install-tools :
173173 @echo " Installing build tools"
174- GOBIN=$(tools_bin_path ) go install github.com/fossas/fossa-cli/cmd/fossa
175- GOBIN= $( tools_bin_path ) go install github.com/golang/mock/mockgen
176- GOBIN= $( tools_bin_path ) go install github.com/google/go-jsonnet/cmd/jsonnet
177- GOBIN= $( tools_bin_path ) go install github.com/m3db/build-tools/utilities/genclean
178- GOBIN= $( tools_bin_path ) go install github.com/m3db/tools/update-license
179- GOBIN= $( tools_bin_path ) go install github.com/golangci/golangci-lint/cmd/golangci-lint
180- GOBIN= $( tools_bin_path ) go install github.com/mauricelam/genny
181- GOBIN= $( tools_bin_path ) go install github.com/mjibson/esc
182- GOBIN= $( tools_bin_path ) go install github.com/pointlander/peg
183- GOBIN= $( tools_bin_path ) go install github.com/robskillington/gorename
184- GOBIN= $( tools_bin_path ) go install github.com/rakyll/statik
185- GOBIN= $( tools_bin_path ) go install github.com/garethr/kubeval
186- GOBIN= $( tools_bin_path ) go install github.com/wjdp/htmltest
174+ GOBIN=$(tools_bin_path ) go install \
175+ github.com/fossas/fossa-cli/cmd/fossa \
176+ github.com/golang/mock/mockgen \
177+ github.com/google/go-jsonnet/cmd/jsonnet \
178+ github.com/m3db/build- tools/utilities/genclean \
179+ github.com/m3db/tools/update-license \
180+ github.com/golangci/golangci-lint/cmd/golangci-lint \
181+ github.com/mauricelam/genny \
182+ github.com/mjibson/esc \
183+ github.com/pointlander/peg \
184+ github.com/rakyll/statik \
185+ github.com/garethr/kubeval \
186+ github.com/wjdp/htmltest
187187
188188.PHONY : check-for-goreleaser-github-token
189189check-for-goreleaser-github-token :
@@ -298,14 +298,12 @@ asset-gen-$(SUBDIR): install-tools
298298 @[ ! -d src/$(SUBDIR ) /$(assets_rules_dir ) ] || \
299299 PATH=$(combined_bin_paths ) :$(PATH ) PACKAGE=$(m3_package ) $(auto_gen ) src/$(SUBDIR ) /$(assets_output_dir ) src/$(SUBDIR ) /$(assets_rules_dir )
300300
301- # NB(schallert): gorename (used by our genny process) doesn't work with go
302- # modules https://github.com/golang/go/issues/34222
303301.PHONY: genny-gen-$(SUBDIR )
304302genny-gen-$(SUBDIR ) : install-tools
305303 @echo "--- Generating genny files $(SUBDIR ) "
306304 @[ ! -f $(SELF_DIR ) /src/$(SUBDIR ) /generated-source-files.mk ] || \
307- PATH=$(combined_bin_paths ) :$(PATH ) GO111MODULE=off make -f $(SELF_DIR ) /src/$(SUBDIR ) /generated-source-files.mk $(genny_target )
308- @PATH=$(combined_bin_paths ) :$(PATH ) GO111MODULE=off bash -c "source ./scripts/auto-gen-helpers.sh && gen_cleanup_dir '*_gen.go' $(SELF_DIR ) /src/$(SUBDIR ) / && gen_cleanup_dir '*_gen_test.go' $(SELF_DIR ) /src/$(SUBDIR ) /"
305+ PATH=$(combined_bin_paths ) :$(PATH ) make -f $(SELF_DIR ) /src/$(SUBDIR ) /generated-source-files.mk $(genny_target )
306+ @PATH=$(combined_bin_paths ) :$(PATH ) bash -c "source ./scripts/auto-gen-helpers.sh && gen_cleanup_dir '*_gen.go' $(SELF_DIR ) /src/$(SUBDIR ) / && gen_cleanup_dir '*_gen_test.go' $(SELF_DIR ) /src/$(SUBDIR ) /"
309307
310308.PHONY: license-gen-$(SUBDIR )
311309license-gen-$(SUBDIR ) : install-tools
0 commit comments