Skip to content

Commit

Permalink
Amend
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Aug 6, 2024
1 parent 7c55ab3 commit ce78787
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions www/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ce78787

Please sign in to comment.