aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLia Lenckowski <lialenck@protonmail.com>2023-08-23 19:01:52 +0200
committerLia Lenckowski <lialenck@protonmail.com>2023-08-23 19:01:52 +0200
commit1e52fa4df63352835ea3020c727ea6093779e176 (patch)
tree7c82b75c853b8c65b94bae938477815c6c3eee9f /makefile
parentc85a846fcee843ae830d1acd0833ddf95fbb3d7e (diff)
downloadfastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar
fastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar.bz2
fastbangs-1e52fa4df63352835ea3020c727ea6093779e176.tar.zst
add yaml config
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index 8aea40d..399eb73 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/fastbangs
+deploy-dir: deploy deploy/bundle.js deploy/style.css deploy/index.html deploy/fastbangs deploy/fastbangs.yaml
.PHONY: watch-script watch-style clean deploy-dir
watch-script: frontend/fuzzysort.js
@@ -22,6 +22,8 @@ deploy:
mkdir -p deploy
deploy/index.html: frontend/index.html
cp $< $@
+deploy/fastbangs.yaml: fastbangs.yaml
+ cp $< $@
deploy/fastbangs: $(shell find src -name '*.hs')
stack install --local-bin-path deploy
deploy/bundle.js: $(shell find frontend -name '*.ts') frontend/fuzzysort.js