-
Notifications
You must be signed in to change notification settings - Fork 17
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
Figure out a Module_test.re convention as seen in the JS world #48
Comments
In this vein, it would be cool if something could be figured out for a |
@ulrikstrid what do you have in mind? |
@jordwalke maybe we could create a alias and have I'm not sure how it would work exactly but I think the tools are there for this to work. |
Renamed the issue so that the discussion can go on |
Something like this would work:
pesy would then have to keep track of all files named |
@prometheansacrifice and @jordwalke do you have any thoughts about the above? |
Example of how this would look like: https://github.com/ulrikstrid/hello-reason/tree/_test-convetion-example |
Dune let's us abstract a package by using a module of the same name as the package. If
Foo.re
is present in a package namespaced underFoo
, other modules can be hiddenpesy
currently doesn't do this, but it would be really ideal if it could do this usingIndex.re
. (idea credits jaredly)... and automatically expect everything from
Index.re
to be imported.In its, current state,
Index.re
has to be accessed asFooBar.Index
The text was updated successfully, but these errors were encountered: