X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=genbindings.sh;h=128a3afbe481147d0a5df19b4a0df7ed164f7446;hb=0b84bd29ac3af544cb8c88a7f581dee337a89ac3;hp=3c669556f4b46185e570c789aae26be55075476e;hpb=ac8a1b348337ec477ef38fd7fa37e8e179999f30;p=ldk-java diff --git a/genbindings.sh b/genbindings.sh index 3c669556..128a3afb 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -223,11 +223,11 @@ else tsc else tsc --types node --typeRoots . + cp ../$WASM_FILE liblightningjs.wasm + echo Ready to publish! if [ -x "$(which node)" ]; then NODE_V="$(node --version)" if [ "${NODE_V:1:2}" -gt 14 ]; then - rm -f liblightningjs.wasm - ln -s "$(pwd)"/../$WASM_FILE liblightningjs.wasm node test/node.mjs fi fi