-
Notifications
You must be signed in to change notification settings - Fork 7
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
read dependencies from *.cabal #30
Comments
The solution suggested by @rahulmutt is to generate a If this is possible, how difficult would it be to detect the Cabal file and generate the From Gitter: Rahul Muttineni @rahulmutt 22:59 Joshua Shinavier @joshsh Sep 08 23:20 |
Is there any ETA/priority for this (the generated |
Moving forward, I'm sure this will be pretty useful to a lot of people, but right now we have our hands full. @jneira Do you think implementing If that's done, adding it to |
Not sure if i fully understand the solution, but it seems the main info that gradle would need from the cabal file are the dependecies. The rest of the GenericPackageDescription info is not essential.
could it be that output usable in a easy way from gradle plugin? |
@jneira Actually, the Gradle DSL supports more than just dependencies - you can specify pretty much everything you could in the .cabal file. Currently, I imagine |
I see, it could be a more general solution to interoperate between formats, i'll try to take a look. |
@jneira I can handle the |
With
etlas
, I am able to build a large directory of pure Haskell code, not otherwise configured for use with Eta. In this case,etlas
reads dependencies directly from a pre-existing.cabal
file. On the other hand, I believe I can also build the project usinggradle-eta
so long as I specify all dependencies inbuild.gradle
, e.g.compile eta('text:1.2.2.2')
.This seems like duplicate work, and it will be easy for my
package.yaml
andbuild.gradle
to become out of sync. In my case, I need to compile the same code viastack
andgradle-eta
or a custom build script. Cangradle-eta
be configured to read from*.cabal
?The text was updated successfully, but these errors were encountered: