diff options
-rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,7 @@ ESFLAGS = --target=esnext --format=esm +deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/bangs-ddgless + .PHONY: watch clean deploy-dir watch-script: esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS) --watch @@ -12,9 +14,6 @@ clean: rm deploy.zip rmdir deploy # this may fail if the server was run, due to the bangs.json being generated - -deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/bangs-ddgless - deploy.zip: deploy-dir zip deploy.zip -r deploy deploy: |