From ba28bd076a12693ab0a065526d6f601770ccb83d Mon Sep 17 00:00:00 2001 From: Andres Rey Date: Thu, 29 Nov 2018 18:53:45 +0000 Subject: Update make file to stop process after finishing testing --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 99616c7..be95942 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -.PHONY: test-all test-7.2 test-7.1 test-7.0 +.PHONY: test-all start test-7.2 test-7.1 test-7.0 stop -test-all: start test-7.2 test-7.1 test-7.0 +test-all: start test-7.2 test-7.1 test-7.0 stop test-7.2: docker-compose exec php-7.2 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml @@ -12,4 +12,7 @@ test-7.0: docker-compose exec php-7.0 php /app/vendor/phpunit/phpunit/phpunit --configuration /app/phpunit.xml start: - docker-compose up -d \ No newline at end of file + docker-compose up -d + +stop: + docker-compose stop -- cgit v1.2.3