13 lines
282 B
Bash
13 lines
282 B
Bash
|
#!/usr/bin/env bash
|
||
|
# This script meant to be run on Unix/Linux based systems
|
||
|
set -e
|
||
|
|
||
|
echo "*** Initializing WASM build environment"
|
||
|
|
||
|
if [ -z $CI_PROJECT_NAME ] ; then
|
||
|
rustup update nightly
|
||
|
rustup update stable
|
||
|
fi
|
||
|
|
||
|
rustup target add wasm32-unknown-unknown --toolchain nightly
|