creswick / cabal-dev

A wrapper program around cabal and cabal-install that maintains sandboxed build environments.
BSD 3-Clause "New" or "Revised" License
150 stars 24 forks source link

Allow selection of the appropriate target context for ghci invocation. #70

Closed freels closed 11 years ago

freels commented 12 years ago

I took a crack at addressing my previous issue #69.

The target executable can be given via -t or --target, e.g.

cabal-dev ghci -t tests

Additionally, if no target is specified, cabal-dev ghci will prefer to use the library target if configured.

jtdaugherty commented 11 years ago

This looks good to me. Anyone else have anything to add before we merge it?

robertmassaioli commented 11 years ago

So what happened with this one? It is annoying me right now. I have to comment out my test suite just to compel cabal-dev ghci to select the right target. That could be better. :D Good job on already having a live PR for this though.

freels commented 11 years ago

Any word on whether or not this is good to go?

elliottt commented 11 years ago

Merged in a13ae4c