From ddc9c24d34fba5a6eb452a95f2261259eaa6c860 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Wed, 17 Jul 2013 08:34:14 -0400
Subject: [PATCH] deep-rm for normal builds

---
 bin/compile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/compile b/bin/compile
index 773766b3..619d5737 100755
--- a/bin/compile
+++ b/bin/compile
@@ -65,6 +65,8 @@ bpwatch start anvil_appdir_stage
   if [ "$SLUG_ID" ]; then
     mkdir -p $TMP_APP_DIR
     deep-mv $APP_DIR $TMP_APP_DIR
+  else
+    deep-rm $APP_DIR
   fi
 bpwatch stop anvil_appdir_stage
 
-- 
GitLab