mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Co-authored-by: TÖRÖK Attila <torokati44@gmail.com> Co-authored-by: Andreas Reich <r_andreas2@web.de>
15 lines
352 B
Bash
Executable File
15 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
script_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
|
|
cd "$script_path/.."
|
|
|
|
set -x
|
|
|
|
# Pre-requisites:
|
|
rustup target add wasm32-unknown-unknown
|
|
|
|
# For generating JS bindings:
|
|
if ! cargo install --list | grep -q 'wasm-bindgen-cli v0.2.100'; then
|
|
cargo install --force --quiet wasm-bindgen-cli --version 0.2.100
|
|
fi
|