Cabal partial builds

Andrea Vezzosi sanzhiyan at gmail.com
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...
URL: http://www.haskell.org/pipermail/cabal-devel/attachments/20080408/ff4bc581/attachment.htm


More information about the cabal-devel mailing list