From 6008f1f42aa7e972e759a9e38448d61a9a21199e Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Fri, 23 Oct 2020 18:59:21 +0300 Subject: [PATCH] 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 --- Makefile | 3 +++ services/ir/prepare.mk | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 services/ir/prepare.mk diff --git a/Makefile b/Makefile index 6accccd..895bf6b 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/services/ir/prepare.mk b/services/ir/prepare.mk new file mode 100644 index 0000000..9433798 --- /dev/null +++ b/services/ir/prepare.mk @@ -0,0 +1,3 @@ +# Deposit GAS from defualt wallet to NeoFS mainnet contract +prepare.ir: + @./bin/deposit.sh