From 11635c849513e5951aa24fbb6a0d0c724d5d7046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20B=C3=B6ving?= Date: Fri, 5 Mar 2021 20:09:21 +0100 Subject: [PATCH] add notice about how to compile hm-asm-web --- hm-asm-web/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hm-asm-web/README.md b/hm-asm-web/README.md index 955b4dd..5e852d4 100644 --- a/hm-asm-web/README.md +++ b/hm-asm-web/README.md @@ -8,6 +8,13 @@ two functions to javascript. If either of the functions should fail they will return their Rust error as a String. In the case of a grammar based error, this would be a nice pest.rs error. +## Building it + +You can build this crate by installing `wasm-pack` and running +``` +$ wasm-pack build +``` + ## Demo In `demo/` You'll find a demo app that compiles and simulates a simple program inside of the console. You can test it with