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:
parent
70b55aab4f
commit
6008f1f42a
2 changed files with 6 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -13,6 +13,9 @@ include help.mk
|
||||||
# Targets to get required artifacts and external resources for each service
|
# Targets to get required artifacts and external resources for each service
|
||||||
include services/*/artifacts.mk
|
include services/*/artifacts.mk
|
||||||
|
|
||||||
|
# Targets helpful to prepare service environment
|
||||||
|
include services/*/prepare.mk
|
||||||
|
|
||||||
# Services that require artifacts
|
# Services that require artifacts
|
||||||
GET_SVCS = $(shell grep -Rl "get.*:" ./services/* | sort -u | grep artifacts.mk | xargs -I {} dirname {} | xargs basename -a)
|
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
3
services/ir/prepare.mk
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Deposit GAS from defualt wallet to NeoFS mainnet contract
|
||||||
|
prepare.ir:
|
||||||
|
@./bin/deposit.sh
|
Loading…
Reference in a new issue