Debian Codegraph @

one-ini-wasm/create_wasm.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if ! [scip-shell system . . `[`. -x "$(command -v wasm-pack)" ];
4 then
5 catscip-shell system . . cat. <<- EOM
6 Error: The required command "wasm-pack" was not found!
7 Try "cargo install wasm-pack" to install it.
8 EOM
9 exit 1
10 fi
11
12 cargoscip-shell system . . cargo. clean
13 wasm-pack build --release --scope one-ini --target nodejs
14
15 (cd ./pkg || exit; npmscip-shell system . . npm. pkg set name='@one-ini/wasm' && npmscip-shell system . . npm. pack --dry-run)