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

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


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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list