aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/makefile b/makefile
index 7783333..1061030 100644
--- a/makefile
+++ b/makefile
@@ -12,9 +12,8 @@ clean:
stack clean --full
rm -f deploy/{bundle.js,index.html,fastbangs,style.css}
rm -f deploy.zip
- # This may fail if the server was run, due to bangs.json and banger.db.
- # This is intentional, as we don't want to delete some users' data
- rmdir deploy
+ # This leaves the deploy directory, which is intentional, as it may contain
+ # user data
deploy.zip: deploy-dir
zip deploy.zip -r deploy