okdistribute / deltachat-js

abstract javascript api for deltachat
GNU General Public License v3.0
2 stars 0 forks source link

automate updating the library #1

Open okdistribute opened 5 years ago

okdistribute commented 5 years ago

it's already out of date. you should be able to update the library by running some commands.

something like:

git clone deltachat/deltachat-node
node deltachat-node/scripts/generate-functions.js
cp lib/*.js lib/
cp *.js .
cp
rm -rf deltachat-node

and then this.binding -> binding

or we find some other way to bind 'binding' to 'this.binding'...

Or, deltachat-node should use deltachat-js and depend upon the C library..

okdistribute commented 5 years ago

thoughts @ralphtheninja?

ralphtheninja commented 5 years ago

I'm not sure what the best way is atm.