Skip to content

Latest commit

History

History
25 lines (18 loc) 路 601 Bytes

File metadata and controls

25 lines (18 loc) 路 601 Bytes

Watify

Requirements

To build, a working rust toolchain and wasm-pack are needed.

Build

# Optional: install the pinned wasm-pack (version tracked in tools/Cargo.toml)
cargo install wasm-pack --version "0.14.0" --locked

# use wasm-pack to build artifact
wasm-pack build --release --target web

Test

# Serve this directory for testing. (python server used in the example, 
# but any web server will do).
# This will server the index.html file in the root of the directory.
# There will only be output in the console if you load the page.
python3 -m http.server