aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2023-07-29 15:28:29 +0200
committerLia Lenckowski <lialenck@protonmail.com>2023-07-29 15:28:29 +0200
commit61293ea8970bb89cde53dff14362f4aa3858ebe9 (patch)
treec745beda92679b7d6fdf24ffe3ef380299d659c3 /makefile
parent9dc2650910bcca92980f0b16fbd5e9e8c94c0473 (diff)
downloadfastbangs-61293ea8970bb89cde53dff14362f4aa3858ebe9.tar
fastbangs-61293ea8970bb89cde53dff14362f4aa3858ebe9.tar.bz2
fastbangs-61293ea8970bb89cde53dff14362f4aa3858ebe9.tar.zst
dont try deleting deploy dir
it doesnt ever work anyways lol
Diffstat (limited to 'makefile')
-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