diff options
author | Lia Lenckowski <lialenck@protonmail.com> | 2023-12-20 16:40:27 +0100 |
---|---|---|
committer | Lia Lenckowski <lialenck@protonmail.com> | 2023-12-20 16:40:27 +0100 |
commit | ef4cc2d95d4ae2c70f280fc8f93bc8c6293b19a0 (patch) | |
tree | cc2cdd463bdd58bae685725de956c835aaa70bd8 | |
parent | 546a9cd375383fba9ee2fb6050935ca247e770f6 (diff) | |
download | fastbangs-ef4cc2d95d4ae2c70f280fc8f93bc8c6293b19a0.tar fastbangs-ef4cc2d95d4ae2c70f280fc8f93bc8c6293b19a0.tar.bz2 fastbangs-ef4cc2d95d4ae2c70f280fc8f93bc8c6293b19a0.tar.zst |
Revert "update watch targets in makefile". Warum gibt es diesen commit?
weiss man nicht.
-rw-r--r-- | makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,17 +10,17 @@ deploy/fastbangs: $(shell find src -name '*.hs') build/bundle.js build/index.htm build/index.html: frontend/index.html cp $< $@ -build/bundle.js: build-dir $(shell find frontend -name '*.ts') frontend/fuzzysort.js +build/bundle.js: $(shell find frontend -name '*.ts') frontend/fuzzysort.js esbuild frontend/main.ts --bundle --outfile=build/bundle.js $(ESFLAGS) -build/style.css: build-dir frontend/style.sass +build/style.css: frontend/style.sass sassc $< $@ frontend/fuzzysort.js: curl -s 'https://cdn.jsdelivr.net/npm/fuzzysort@2.0.4/fuzzysort.min.js' -o $@ -watch-script: deploy-dir frontend/fuzzysort.js +watch-script: frontend/fuzzysort.js esbuild frontend/main.ts --bundle --outfile=deploy/bundle.js $(ESFLAGS) --watch -watch-style: deploy-dir +watch-style: while true; do make deploy/style.css; inotifywait -e modify -e move frontend/style.sass; done deploy.zip: all |