aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-30 10:07:53 -0500
committerbrian cully <bjc@spork.org>2025-12-30 10:07:53 -0500
commit0b78d8154e8644f69d5399c276c4c2a6feb4c5b5 (patch)
treec7839f26948cf974d1843c1e5da89de965271cf2 /Makefile
parentb2fe275aa4486cfcb54e8149878402f64b0c84dd (diff)
downloadpolyring-0b78d8154e8644f69d5399c276c4c2a6feb4c5b5.tar.gz
polyring-0b78d8154e8644f69d5399c276c4c2a6feb4c5b5.zip
rename wasm impl to rust
we may have more than one wasm compiler?
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)