-
Notifications
You must be signed in to change notification settings - Fork 350
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
Migrate snapshot to cram #767
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
ppx/dune
Outdated
(name standalone) | ||
(modules standalone) | ||
(package reason-react-ppx) | ||
(public_name reason-react-ppx.standalone) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason to make this public? I think the ppx will always be consumed as a library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be useful to run the ppx transformation as an executable. I'm in favor of this one.
I'd name it to a better name though. I think it can even be called reason-react-ppx
. it'll be installed in bin/reason-react-ppx
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know was possible the same name as the lib
ppx/test/functor.t/run.t
Outdated
@@ -0,0 +1,20 @@ | |||
$ ../ppx.sh input.re |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why sometimes ppx_with_refmt
is used and some other times just ppx
?
…-ppx-tests-to-cram-tests * 'main' of github.com:/reasonml/reason-react: Allow memoCustomCompareProps on ppx (#766)
…l/reason-react into Migrate-ppx-tests-to-cram-tests * 'Migrate-ppx-tests-to-cram-tests' of github.com:/reasonml/reason-react: Rename standalone as 'reason-react-ppx'
* main: Migrate snapshot to cram (#767)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed one downside of this rearrangement is that now merlin tests are mixed up with the other ppx tests. I will open a PR to put them back together because the tests are quite different and it was nice to have them grouped together.
As usual, a migration to cram tests