aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-26 12:04:14 -0500
committerbrian cully <bjc@spork.org>2025-12-26 12:04:14 -0500
commitfa3067a16f8ba06ee756eb2b2293be4cb728681d (patch)
tree41b5ab1e76e12be764d4f6481febe49862bf8ea1 /Makefile
downloadpolyring-fa3067a16f8ba06ee756eb2b2293be4cb728681d.tar.gz
polyring-fa3067a16f8ba06ee756eb2b2293be4cb728681d.zip
add bouncing particles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5d17ff0
--- /dev/null
+++ b/Makefile
@@ -0,0 +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 $(BUILDDIR)/wasm
+
+serve: build
+ (cd $(BUILDDIR) && python -m http.server 8118)
+
+deploy: build
+ rsync -avz --delete --exclude='*~' "$(BUILDDIR)"/ "$(HOST)"