intellij-haskforce icon indicating copy to clipboard operation
intellij-haskforce copied to clipboard

update for new cabal?

Open grguthrie opened this issue 6 years ago • 3 comments

e:\PLang\Haskell_Platform\8.6.3\lib\extralibs\bin\cabal.exe run --with-ghc=E:\PLang\Haskell_Platform\8.6.3\bin\ghc.exe Warning: The run command is a part of the legacy v1 style of cabal usage.

Please switch to using either the new project style and the new-run command or the legacy v1-run alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands.

For more information, see: https://wiki.haskell.org/Cabal/NewBuild

grguthrie avatar Jan 31 '19 21:01 grguthrie

If you or anyone else is open to implementing this, let me know and I can outline what's needed. The sources in question are located here - https://github.com/carymrobbins/intellij-haskforce/tree/master/src/com/haskforce/run

carymrobbins avatar Jan 31 '19 22:01 carymrobbins

Thanks for the reply; this is beyond my level of familiarity with this tool, IntelliJ, or new Cabal - I hope someone might get interested, HaskForce is a nice tool. Thanks!!

grguthrie avatar Feb 01 '19 02:02 grguthrie

One other small observation; when I get a cabal failure, it only reports just that - "Cabal error", no additional information. So I then have to manually run cabal build, and that gives me the full error message, and thus information on how to fix it.

grguthrie avatar Feb 02 '19 18:02 grguthrie