denoland / deno_bindgen

Write high-level Deno FFI libraries in Rust.
MIT License
274 stars 28 forks source link

Add scaffold script #112

Open sigmaSd opened 1 year ago

sigmaSd commented 1 year ago

I think its a good idea, especially if it had github action

sigmaSd commented 1 year ago

Also worth considering using deno.json for the scaffold like https://github.com/denoland/wasmbuild#setup

I personally don't see that much of a difference

sigmaSd commented 1 year ago

I added github action support

sigmaSd commented 1 year ago

I added a way to generate the bindings automatically, I think its nice since it allows to keep the binary releases and the bindings in sync

sigmaSd commented 1 year ago

You can test the scaffold script with

deno run --allow-read=. --allow-write=. https://github.com/sigmaSd/deno_bindgen/raw/scaf/scaffold/scaffold.ts myapp