make: change deps output

This commit is contained in:
Evgeniy Kulikov 2020-04-20 12:03:55 +03:00
parent 1d7c767759
commit ad46d41313
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2

View file

@ -7,21 +7,21 @@ GOGOPROTO_URL=https://github.com/gogo/protobuf/archive/$(GOGOPROTO_VERSION).tar.
.PHONY: deps docgen .PHONY: deps docgen
deps: deps:
@echo "=> Prepare" @echo " Prepare"
@rm -rf ./vendor/github.com/gogo/protobuf @rm -rf ./vendor/github.com/gogo/protobuf
@rm -rf ./vendor/github.com/nspcc-dev/netmap @rm -rf ./vendor/github.com/nspcc-dev/netmap
@mkdir -p ./vendor/github.com/gogo/protobuf @mkdir -p ./vendor/github.com/gogo/protobuf
@mkdir -p ./vendor/github.com/nspcc-dev/netmap @mkdir -p ./vendor/github.com/nspcc-dev/netmap
@echo "=> Download" @echo " Download"
@curl -sL -o ./vendor/gogo.tar.gz $(GOGOPROTO_URL) @curl -sL -o ./vendor/gogo.tar.gz $(GOGOPROTO_URL)
@curl -sL -o ./vendor/netmap.tar.gz $(NETMAP_URL) @curl -sL -o ./vendor/netmap.tar.gz $(NETMAP_URL)
@echo "=> Vendoring" @echo " Vendoring"
@tar -xzf ./vendor/gogo.tar.gz --strip-components 1 -C ./vendor/github.com/gogo/protobuf @tar -xzf ./vendor/gogo.tar.gz --strip-components 1 -C ./vendor/github.com/gogo/protobuf
@tar -xzf ./vendor/netmap.tar.gz --strip-components 1 -C ./vendor/github.com/nspcc-dev/netmap @tar -xzf ./vendor/netmap.tar.gz --strip-components 1 -C ./vendor/github.com/nspcc-dev/netmap
@echo "=> Cleanup" @echo " Cleanup"
@rm ./vendor/gogo.tar.gz @rm ./vendor/gogo.tar.gz
@rm ./vendor/netmap.tar.gz @rm ./vendor/netmap.tar.gz