postsack/postsack-web/setup_web.sh
Benedikt Terhechte 047552a20a Add postsack-web target for wasm
This includes everything required to build a wasm target.
It also separates the egui initialization into the separate
postsack target for native
2021-12-17 14:14:13 +01:00

11 lines
217 B
Bash
Executable File

#!/bin/bash
set -eu
# Pre-requisites:
rustup target add wasm32-unknown-unknown
cargo install -f wasm-bindgen-cli
cargo update -p wasm-bindgen
# For local tests with `./start_server`:
cargo install basic-http-server