projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TS] Do not rely on a symlink as npm publish ignores it
[ldk-java]
/
genbindings.sh
diff --git
a/genbindings.sh
b/genbindings.sh
index 3c669556f4b46185e570c789aae26be55075476e..128a3afbe481147d0a5df19b4a0df7ed164f7446 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-223,11
+223,11
@@
else
tsc
else
tsc --types node --typeRoots .
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
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
node test/node.mjs
fi
fi