aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 677f573..e6767f2 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,10 @@ WASMPACKFLAGS=--no-pack --no-typescript
# 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 $(WASMPACKFLAGS)
+rust:
+ wasm-pack build --target web --out-dir $(BUILDDIR)/rust $(WASMPACKFLAGS)
+
+build: rust
serve: build
(cd $(BUILDDIR) && python -m http.server 8118)