1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00
Files
egui/scripts/setup_web.sh
2023-05-17 11:08:35 +02:00

11 lines
250 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$script_path/.."
# Pre-requisites:
rustup target add wasm32-unknown-unknown
# For generating JS bindings:
cargo install wasm-bindgen-cli --version 0.2.86