aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5ae5e87..795de5c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
-all: cargo
+all: wasm
cd www && \
npm install && \
npm run build
-serve: cargo
+serve: wasm
cd www && \
npm install && \
npm run start
-cargo:
+wasm:
wasm-pack build --no-typescript --release
+
+test:
+ wasm-pack test --headless --firefox