-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm attempting to see how Goji scales to binding to a larger library—in particular, the Meteor framework. It's a significantly larger project than any of the example Goji bindings, but I don't think it's out of scope.
Unfortunately, I run into a lot of issues trying to figure out how to make Goji run with a larger project. As a simple example, it took me some time to realize that when breaking a binding into multiple modules I need to separately compile a .cmxs file for each module and then list them all to goji generate
ocamlbuild -use-ocamlfind all.cmxs # depends on Tracker.ml
ocamlbuild -use-ocamlfind tracker.cmxs
goji generate -d bindings _build/tracker.cmxs _build/all.cmxs
I can try to dig into the Goji source more deeply to understand how everything is being generated, but it'd be nice to know if there are any larger bindings through Goji I could use as an example or if there is any documentation for how to use Goji "practically".
Thanks!