mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-11 21:40:02 -04:00
fix: install wasm snip in codespace basic setup
This commit is contained in:
parent
bb9e1340f6
commit
35231bf9d9
2 changed files with 3 additions and 2 deletions
|
@ -9,5 +9,6 @@ rm -rf binaryen-${VER}-x86_64-linux.tar.gz
|
|||
mv binaryen-${VER}/bin/* ~/.local/bin
|
||||
mv binaryen-${VER}/lib/* ~/.local/lib
|
||||
rm -rf binaryen-${VER}
|
||||
cargo install --git https://github.com/r58playz/wasm-snip
|
||||
pnpm rewriter:build
|
||||
pnpm build
|
|
@ -3,8 +3,8 @@ set -euo pipefail
|
|||
shopt -s inherit_errexit
|
||||
|
||||
# Check for cargo and wasm-bindgen
|
||||
which cargo wasm-bindgen wasm-opt &> /dev/null || {
|
||||
echo "Please install cargo, wasm-bindgen, and wasm-opt! Exiting..."
|
||||
which cargo wasm-bindgen wasm-opt wasm-snip &> /dev/null || {
|
||||
echo "Please install cargo, wasm-bindgen, wasm-opt, and wasm-snip! Exiting..."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue