projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #104 from TheBlueMatt/main
[ldk-java]
/
genbindings.sh
diff --git
a/genbindings.sh
b/genbindings.sh
index a78e57ed4a2ab79e05b486c7debbbf17610074e3..4102884dc92350ac4cb91565abfefa8d87979b2e 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-189,6
+189,7
@@
else
./genbindings.py "./lightning.h" ts ts ts $DEBUG_ARG typescript browser
fi
rm -f ts/bindings.c
./genbindings.py "./lightning.h" ts ts ts $DEBUG_ARG typescript browser
fi
rm -f ts/bindings.c
+ sed -i 's/^ "version": .*/ "version": "'${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}'",/g' ts/package.json
if [ "$3" = "true" ]; then
echo "#define LDK_DEBUG_BUILD" > ts/bindings.c
elif [ "$3" = "leaks" ]; then
if [ "$3" = "true" ]; then
echo "#define LDK_DEBUG_BUILD" > ts/bindings.c
elif [ "$3" = "leaks" ]; then