JPMoresmau / dbIDE

Prototype of a web based, database driven Haskell IDE
17 stars 2 forks source link

rename executable or lib in cabal to avoid `cabal repl` conflicts #4

Closed rvion closed 10 years ago

rvion commented 10 years ago

since lib and exe have the same name, with cabal >= 10, we can't use cabal repl. hwide-lib for the lib would allow one to use

cabal repl hwide

and

cabal repl hwide-lib
JPMoresmau commented 10 years ago

I'm not sure I understand. The cabal doc is clear: http://www.haskell.org/cabal/users-guide/developing-packages.html

cabal repl foo
cabal repl exe:foo

So you can disambiguate between the lib and the exe.

rvion commented 10 years ago

you're right, thanks for pointing this out :+1: