Proposal: Make it possibly specify the component to build form the command line

Johan Tibell johan.tibell at gmail.com
Wed Oct 5 04:27:27 CEST 2011


Hi,

Here's a another proposal.

Now when we start having more components in one package (library,
executables, test suites, and soon benchmarks) it would be convient
to specify what to build directly from the command line without having to
reconfigure e.g.

    cabal build my-test

This would also allow one to enable all components e.g.

    cabal configure --enable-tests --enable-benchmarks

but only build one of them (for faster build times)

    cabal build my-benchmark

Would that work well with how Cabal keeps track of what to build?

Cheers,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20111004/eab0a915/attachment.htm>


More information about the cabal-devel mailing list