Skip to content

Commit

Permalink
🐛(Makefile) fix resetting data folder when absent
Browse files Browse the repository at this point in the history
When bootstrapping the project for the first time, the data directory
is absent and the reset rule should not fail.
  • Loading branch information
sampaccoud committed Jul 8, 2020
1 parent 31a9ed6 commit 6688634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6688634

Please sign in to comment.