From 89398e7e8c6192593fb01f8acb2af1beff004379 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 2 Jul 2016 21:03:44 -0700 Subject: After publish delete the build dir if it exists --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9fa4bbf..44f0876 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,4 @@ publish: build git symbolic-ref HEAD refs/heads/master git reset --mixed - rm rf $(DEPLOY_DIR) + [ -d $(DEPLOY_DIR) ] && rm -rf $(DEPLOY_DIR) -- cgit v1.2.3