[#18] Makefile: Split long `for` line

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
master
Evgenii Stratonikov 2023-04-28 11:22:37 +03:00 committed by Evgenii Stratonikov
parent 976f16803d
commit db0ebb7349
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ up/bootstrap: get vendor/hosts
@$(foreach SVC, $(START_BOOTSTRAP), $(shell docker-compose -f services/$(SVC)/docker-compose.yml up -d))
@source ./bin/helper.sh
@./vendor/frostfs-adm --config frostfs-adm.yml morph init --contracts vendor/contracts || die "Failed to initialize Alphabet wallets"
@for f in ./services/storage/wallet*.json; do echo "Transfer GAS to wallet $${f}" && ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 || die "Failed to transfer GAS to alphabet wallets"; done
@for f in ./services/storage/wallet*.json; do \
echo "Transfer GAS to wallet $${f}" \
&& ./vendor/frostfs-adm -c frostfs-adm.yml morph refill-gas --storage-wallet $${f} --gas 10.0 \
|| die "Failed to transfer GAS to alphabet wallets"; \
done
@echo "FrostFS sidechain environment is deployed"
# Build up certain service