Browse Source

build: ensure each tool is built separately (#10303)

pull/10306/head
R.B. Boyer 4 years ago committed by GitHub
parent
commit
c0b63ef3f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      GNUmakefile

8
GNUmakefile

@ -315,10 +315,12 @@ ui: ui-docker static-assets-docker
tools: tools:
@mkdir -p .gotools @mkdir -p .gotools
@cd .gotools && if [[ ! -f go.mod ]]; then \ @cd .gotools && for TOOL in $(GOTOOLS); do \
echo "=== TOOL: $$TOOL" ; \
rm -f go.mod go.sum ; \
go mod init consul-tools ; \ go mod init consul-tools ; \
fi go get -v $$TOOL ; \
cd .gotools && go get -v $(GOTOOLS) done
version: version:
@echo -n "Version: " @echo -n "Version: "

Loading…
Cancel
Save