From 6688634168b2f994271d2bbaf0508b487eb54eb4 Mon Sep 17 00:00:00 2001 From: Samuel Paccoud - FUN MOOC Date: Thu, 2 Jul 2020 09:04:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(Makefile)=20fix=20resetting=20data?= =?UTF-8?q?=20folder=20when=20absent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When bootstrapping the project for the first time, the data directory is absent and the reset rule should not fail. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cc050755..92cc48fd 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ build: ## build all containers reset: ## Remove database and local files $(COMPOSE) stop - rm -Ir data/* + rm -Ir data/* || exit 0 $(COMPOSE) rm db .PHONY: reset