Ziggurat
This is an attempt at a Ludum Dare 43 entry.
Build
Setup
# Install Rust
curl https://sh.rustup.rs -sSf | sh
# Install cargo-web to make it easier to build WebAssembly projects.
cargo install cargo-web
Release build
cargo web deploy --release
rm -rf docs/* && cp -R target/deploy/* docs/
Development server
cargo web start --auto-reload
If (like me), you use vim as your editor, make sure you're not storing your swap, backup or undo files in your working directory, as it confuses cargo-web
and makes it rebuild (and reload) far more frequently than needed.