mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
update
This commit is contained in:
parent
365284a1d4
commit
addddd18d5
3 changed files with 57 additions and 74 deletions
|
@ -2,13 +2,12 @@
|
|||
set -euo pipefail
|
||||
shopt -s inherit_errexit
|
||||
|
||||
# Check for cargo and wasm-bindgen
|
||||
which cargo wasm-bindgen wasm-opt wasm-snip &> /dev/null || {
|
||||
echo "Please install cargo, wasm-bindgen, wasm-opt, and wasm-snip! Exiting..."
|
||||
echo "Please install cargo, wasm-bindgen, wasm-opt from https://github.com/WebAssembly/binaryen, and wasm-snip from https://github.com/r58playz/wasm-snip!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
WBG="wasm-bindgen 0.2.99"
|
||||
WBG="wasm-bindgen 0.2.100"
|
||||
if ! [[ "$(wasm-bindgen -V)" =~ ^"$WBG" ]]; then
|
||||
echo "Incorrect wasm-bindgen-cli version: '$(wasm-bindgen -V)' != '$WBG'"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue