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

etlas project --json #18

Open
rahulmutt opened this issue Sep 22, 2017 · 1 comment
Open

etlas project --json #18

rahulmutt opened this issue Sep 22, 2017 · 1 comment

Comments

@rahulmutt
Copy link
Member

For interop with other build tools, it would be great if etlas can spit out the info in a .cabal file in a json format.

{"library" : {"hs-source-dirs":...}, "executable":{"name":"..", ...}

etlas project [target] should be thought of as a command that dumps the contents of the target's cabal file. If no target is specified, the current project's cabal file is used.

@jneira
Copy link
Collaborator

jneira commented Jan 22, 2019

Talking with @rahulmutt we agreed in it would be useful that etlas project could generate the info for differents config formats: cabal, dhall or gradle (maybe dhall could replace json cause it is easily conveted to it)
Related with typelead/eta#720

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

No branches or pull requests

2 participants