diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,13 @@ +BUILDDIR=site +HOST=coleridge:public_html/automathon + # the --target is currently necessary or firefox will return # "disallowed mime type" -bjc 7-aug-2025 build: - wasm-pack build --target web --out-dir site/wasm + wasm-pack build --target web --out-dir $(BUILDDIR)/wasm serve: build - (cd site && python -m http.server 8118) + (cd $(BUILDDIR) && python -m http.server 8118) + +deploy: build + rsync -avz --delete --exclude='*~' "$(BUILDDIR)"/ "$(HOST)" |
