aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 0b59ae1..ea6b296 100644
--- a/makefile
+++ b/makefile
@@ -1,6 +1,6 @@
ESFLAGS = --target=esnext --format=esm
-deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/bangs-ddgless
+deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/fastbangs
.PHONY: watch clean deploy-dir
watch-script:
@@ -10,7 +10,7 @@ watch-style:
clean:
stack clean --full
- rm deploy/{bundle.js,index.html,bangs-ddgless}
+ 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
@@ -20,7 +20,7 @@ deploy:
mkdir -p deploy
deploy/index.html: frontend/index.html
cp $< $@
-deploy/bangs-ddgless: $(shell find src -name '*.hs')
+deploy/fastbangs: $(shell find src -name '*.hs')
stack install --local-bin-path deploy
deploy/bundle.js: $(shell find frontend -name '*.ts')
esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS)