diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -10,9 +10,11 @@ watch-style: clean: stack clean --full - rm deploy/{bundle.js,index.html,fastbangs} - rm deploy.zip - rmdir deploy # this may fail if the server was run, due to the bangs.json being generated + rm -f deploy/{bundle.js,index.html,fastbangs} + 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 deploy.zip: deploy-dir zip deploy.zip -r deploy @@ -26,4 +28,3 @@ deploy/bundle.js: $(shell find frontend -name '*.ts') esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS) deploy/style.css: frontend/style.sass sassc $< $@ - |