projects
/
ldk-java
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86a590
)
[TS] Do not rely on a symlink as npm publish ignores it
author
Matt Corallo
<git@bluematt.me>
Mon, 17 Jan 2022 04:33:09 +0000
(
04:33
+0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 17 Jan 2022 04:39:00 +0000
(
04:39
+0000)
genbindings.sh
patch
|
blob
|
history
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 .
+ 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