Minor Makefile fixes

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
wallet-connect
Stanislav Bogatyrev 2020-12-01 14:50:23 +03:00 committed by Stanislav Bogatyrev
parent 68e552e563
commit a1d56e6b55
2 changed files with 6 additions and 3 deletions

View File

@ -43,7 +43,7 @@ get: $(foreach SVC, $(GET_SVCS), get.$(SVC))
# Start environment
.PHONY: up
up: get vendor/hosts
up: pull get vendor/hosts
$(foreach SVC, $(START_SVCS), $(shell docker-compose -f services/$(SVC)/docker-compose.yml up -d))
# Stop environment
@ -52,7 +52,6 @@ down:
$(foreach SVC, $(STOP_SVCS), $(shell docker-compose -f services/$(SVC)/docker-compose.yml down))
.PHONY: vendor/hosts
.ONESHELL:
vendor/hosts:
@for file in $(HOSTS_LINES); do \
while read h; do \
@ -64,3 +63,8 @@ vendor/hosts:
.PHONY: hosts
hosts: vendor/hosts
@cat vendor/hosts
# Clean-up the envirinment
.PHONY: clean
clean:
@rm -rf vendor/*

View File

@ -1 +0,0 @@
05