Last active
November 15, 2016 07:41
-
-
Save peel/5237994e18b1223172b7a89404e29e18 to your computer and use it in GitHub Desktop.
make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPOS := user-service uc-service pep-service application-handler-service sms-service point-service mail-service message-dispatcher | |
ORG := LendoSTPGdansk | |
TARGET := wrk/lendo | |
default: clone run | |
clone: | |
@echo "[INFO] cloning repositories" | |
@for r in $(REPOS) ; do git clone git@github.com:$(ORG)/$$r.git ~/$(TARGET)/$$r ; done | |
run: | |
@echo "[INFO] running containers" | |
docker-compose -d -f ~/$(TARGET)/docker-compose.yml up | |
clean: | |
@echo "[INFO] killing containers" | |
@docker-compose kill || true | |
@echo "[INFO] removing containers" | |
@docker-compose rm -f || true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment