mirror of
https://github.com/status-im/consul.git
synced 2025-02-19 17:14:37 +00:00
build: ensure each tool is built separately (#10303)
This commit is contained in:
parent
353280660f
commit
c0b63ef3f7
@ -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…
x
Reference in New Issue
Block a user