creswick/cabal-dev — pull request #70 by freels (2012-09-23 17:14:08+00:00)
Title: Allow selection of the appropriate target context for ghci invocation.

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.