Cabal partial builds

Andrea Vezzosi sanzhiyan at
Tue Apr 8 11:01:36 EDT 2008

You can almost get that with cabal configurations and the field Buildable:
Flag devel
  Default: False
Executable foo
  if flag(devel)
    Buildable: False

With that if you pass --flags="devel" to configure the executable foo won't
be built.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the cabal-devel mailing list