Skip to content

Commit 0e66446

Browse files
committed
[TS] Do not rely on a symlink as npm publish ignores it
1 parent a86a590 commit 0e66446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

genbindings.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ else
223223
tsc
224224
else
225225
tsc --types node --typeRoots .
226+
cp ../$WASM_FILE liblightningjs.wasm
227+
echo Ready to publish!
226228
if [ -x "$(which node)" ]; then
227229
NODE_V="$(node --version)"
228230
if [ "${NODE_V:1:2}" -gt 14 ]; then
229-
rm -f liblightningjs.wasm
230-
ln -s "$(pwd)"/../$WASM_FILE liblightningjs.wasm
231231
node test/node.mjs
232232
fi
233233
fi

0 commit comments

Comments
 (0)