egui/sh/setup_web.sh

10 lines
223 B
Bash
Raw Normal View History

#!/bin/bash
set -eu
2021-05-09 11:28:24 +00:00
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$script_path/.."
# Pre-requisites:
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
2021-02-28 18:51:22 +00:00
cargo update -p wasm-bindgen