Skip to content

Conversation

cannorin
Copy link
Member

  • Add an option --merge to merge the input definition files to one binding.
    • This is a breaking change; previously --merge was the default behavior.
  • Add an option --follow-relative-references to generate bindings for relevant files at once.

@cannorin cannorin mentioned this pull request Nov 24, 2021
@smorimoto smorimoto added the enhancement New feature or request label Nov 24, 2021
@Lupus
Copy link

Lupus commented Nov 24, 2021

Will --follow-relative-references produce multiple files matching relative references?

@cannorin
Copy link
Member Author

cannorin commented Nov 24, 2021

@Lupus Yes, it will just work as same as you run ts2ocaml for each file. The previous behavior (merging everything to one file) is not a default behavior anymore and must be enabled with --merge.

@cannorin cannorin marked this pull request as ready for review November 30, 2021 08:47
@cannorin cannorin merged commit 7ca27db into main Nov 30, 2021
@cannorin cannorin deleted the follow-relative-references branch November 30, 2021 08:59
@cannorin cannorin mentioned this pull request Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants