Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable generators by default (even in dependencies) #117

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

anmonteiro
Copy link
Member

@anmonteiro anmonteiro commented Apr 2, 2021

fixes #87

For projects that want to check in generated code, setcut-generators: false in bsconfig.json

@anmonteiro anmonteiro merged commit 7966fb0 into fork Apr 2, 2021
@anmonteiro anmonteiro deleted the anmonteiro/generators-by-default branch April 2, 2021 05:48
@anmonteiro anmonteiro mentioned this pull request Apr 2, 2021
4 tasks
@jfrolich
Copy link
Contributor

jfrolich commented Apr 3, 2021

Pardon my ignorance. But what are generators in this context?

@jchavarri
Copy link
Member

@jfrolich it's this feature that allows you to define custom rules that will be bridged to ninja. Somehow analog to dune rule stanza. Useful to generate ml files with tools like menhir or atd. I can't find it in new rescript docs but you can see the old documentation in https://bucklescript.vercel.app/docs/en/build-advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFC: enabling generators by default
3 participants