Add prepare. make targets for services

It may be useful to have make targets that will help to prepare service
environment for specific tasks.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-10-23 18:59:21 +03:00 committed by Stanislav Bogatyrev
parent 70b55aab4f
commit 6008f1f42a
2 changed files with 6 additions and 0 deletions

View file

@ -13,6 +13,9 @@ include help.mk
# Targets to get required artifacts and external resources for each service
include services/*/artifacts.mk
# Targets helpful to prepare service environment
include services/*/prepare.mk
# Services that require artifacts
GET_SVCS = $(shell grep -Rl "get.*:" ./services/* | sort -u | grep artifacts.mk | xargs -I {} dirname {} | xargs basename -a)

3
services/ir/prepare.mk Normal file
View file

@ -0,0 +1,3 @@
# Deposit GAS from defualt wallet to NeoFS mainnet contract
prepare.ir:
@./bin/deposit.sh