aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-07-26 21:48:06 +0200
committermetamuffin <metamuffin@disroot.org>2023-07-26 21:48:37 +0200
commit377e503555a9b5feb89e15275f26333545a6e414 (patch)
tree2e0d5907fee87a91799c9388ede8fa28c2c77579 /makefile
parent25699e2d089ab21072e6894c098efea98fc14fa9 (diff)
downloadfastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar
fastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar.bz2
fastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar.zst
rename project and add some more ui
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)