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

Add pps field to toplevel stanza, use ppx rewriters in utop #3326

Merged
merged 22 commits into from
Apr 8, 2020

Conversation

stephanieyou
Copy link
Contributor

@stephanieyou stephanieyou commented Apr 2, 2020

#346

If directory contains a ppx rewriter, makes the ppx extension usable in dune utop. Also allows pps field in toplevel stanzas.

@stephanieyou stephanieyou marked this pull request as ready for review April 2, 2020 18:22
@stephanieyou stephanieyou changed the title [WIP] Add pps field to toplevel stanza, use ppx rewriters in utop Add pps field to toplevel stanza, use ppx rewriters in utop Apr 4, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from two minor details, this looks good! Could you also add an entry in the CHANGES.md file?

src/dune/toplevel.ml Outdated Show resolved Hide resolved
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ghost
Copy link

ghost commented Apr 7, 2020

Just one last thing: could you sign your commits (as explained in the CONTRIBUTING.md file)? Then this is ready to merge!

@stephanieyou
Copy link
Contributor Author

I'm breaking something (or many things) with git... Please ignore while I try to fix 😅Sorry

Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
src/dune/utop.ml Outdated Show resolved Hide resolved
src/dune/toplevel.ml Outdated Show resolved Hide resolved
@rgrinberg
Copy link
Member

Could you also update the documentation for the toplevel stanza? It's in dune-files.rst.

Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Stephanie You <youstephanie98@gmail.com>
@stephanieyou
Copy link
Contributor Author

Just updated the documentation!

src/dune/dune_file.ml Outdated Show resolved Hide resolved
stephanieyou and others added 2 commits April 7, 2020 16:43
…or toplevel pps

Signed-off-by: Stephanie You <youstephanie98@gmail.com>
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg merged commit ee87fd2 into ocaml:master Apr 8, 2020
@rgrinberg
Copy link
Member

Thanks for you efforts!

@stephanieyou stephanieyou deleted the toplevel-ppx branch April 8, 2020 15:09
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.

2 participants