-
Notifications
You must be signed in to change notification settings - Fork 110
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
auto-expose generated modules #373
Comments
I believe there isn't a way to do this right now, but you bring up a good point. When we originally set this up we had the opposite problem, namely, the set of Maybe we should change Currently it filters on Alternately, another idea I can think of is to make
It has the benefit of not being a "breaking" change to |
I like option with custom Cabal (I guess will work for Stack as well?) flag for its simplicity of usage. Maybe we can make it more flexible with transition from boolean type to regex type? Then we can have features similar to filtering and negation which will be enough for most cases. Something like this (just dummy example)
|
Hi guys! Is there any way to export all modules from Haskell library? I just have really a lot (hundreds) modules generated by proto-lens tool from Google Protobuf files. It's very inconvenient to write them all manually in exposed-modules section.
Here is example of how it's working now. Just imagine that protobuf schema contains not 2 but ~200 modules which you want to export from your library.
proto-lens/proto-lens-tutorial/person/package.yaml
Lines 18 to 20 in 7bb31dc
The text was updated successfully, but these errors were encountered: