From ce787875b9c0a5fba3c610a0ec6dc690dc73a657 Mon Sep 17 00:00:00 2001 From: raphjaph Date: Tue, 6 Aug 2024 18:41:35 -0400 Subject: [PATCH] Amend --- www/justfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/justfile b/www/justfile index 4d04995..2574b9c 100644 --- a/www/justfile +++ b/www/justfile @@ -8,3 +8,14 @@ wasm: serve: wasm python3 -m http.server -b 127.0.0.1 -d . 8080 + +wasm-miccul: + rustup toolchain install nightly + rustup target add wasm32-unknown-unknown --toolchain nightly + rustup default nightly-x86_64-apple-darwin + AR=/opt/homebrew/opt/llvm/bin/llvm-ar CC=/opt/homebrew/opt/llvm/bin/clang wasm-pack build --target web --no-typescript + cp pkg/www.js pkg/www_bg.wasm . + rustup default stable + +serve-miccul: wasm-miccul + python3 -m http.server -b 127.0.0.1 -d . 8080