From 130c5922c12010c9d3f75fdb4f662079aa46204c Mon Sep 17 00:00:00 2001 From: Vincent Letourneau Date: Fri, 28 Jul 2017 15:08:02 +0200 Subject: [PATCH] Improve Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0604c0c..f17cc40 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ # config environment include .env +# MySQL MYSQL_DUMPS_DIR=data/db/dumps help: @@ -16,7 +17,7 @@ help: @echo " docker-start Create and start containers" @echo " docker-stop Stop all services" @echo " docker-sweep Sweep old containers and volumes" - @echo " gencerts Generate SSL certificates" + @echo " gen-certs Generate SSL certificates" @echo " mysql-dump Create backup of whole database" @echo " mysql-restore Restore backup from whole database" @echo " test Test application" @@ -66,4 +67,7 @@ mysql-restore: test: @docker exec -i $(shell docker-compose ps -q php) app/vendor/bin/phpunit --colors=always --configuration app/ +tearDown: + chown -Rf "$(shell whoami):$(shell id -g -n $(whoami))" data web/app + .PHONY: clean \ No newline at end of file