b0087a5357
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
18 lines
391 B
Makefile
18 lines
391 B
Makefile
# Download privnet chain dump with pre-deployed NeoFS contracts
|
|
|
|
get.chain: CHAIN_DUMP_NAME=devenv.dump.
|
|
get.chain: CHAIN_PATH?=
|
|
get.chain:
|
|
@mkdir -p ./vendor
|
|
|
|
ifeq (${CHAIN_PATH},)
|
|
@echo "⇒ Download blockchain dump from ${CHAIN_URL}"
|
|
@curl \
|
|
-sSL "${CHAIN_URL}" \
|
|
-o ./vendor/chain.gz
|
|
else
|
|
@echo "⇒ Copy local archive ${CHAIN_PATH}"
|
|
@cp ${CHAIN_PATH} ./vendor/chain.gz
|
|
endif
|
|
|
|
|