frostfs-dev-env/services/morph_chain/artifacts.mk

16 lines
466 B
Makefile
Raw Normal View History

# Download NeoFS sidechain dump with pre-deployed NeoFS contracts
2020-07-10 15:14:30 +00:00
get.morph_chain: MORPH_CHAIN_DUMP_NAME=neo.morph.dump.
get.morph_chain: MORPH_CHAIN_PATH?=
get.morph_chain:
@mkdir -p ./vendor
ifeq (${MORPH_CHAIN_PATH},)
@echo "⇒ Download morph chain dump from ${MORPH_CHAIN_URL}"
2020-07-10 15:14:30 +00:00
@curl \
-sSL "${MORPH_CHAIN_URL}" \
2020-07-10 15:14:30 +00:00
-o ./vendor/morph_chain.gz
else
@echo "⇒ Copy local archive ${MORPH_CHAIN_PATH}"
@cp ${MORPH_CHAIN_PATH} ./vendor/morph_chain.gz
endif