[Hackage] #495: feature request: top-level if statements
Hackage
trac at galois.com
Tue Feb 10 11:13:38 EST 2009
#495: feature request: top-level if statements
----------------------------+-----------------------------------------------
Reporter: awick | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.6.0.1
Severity: normal | Resolution:
Keywords: | Difficulty: unknown
Ghcversion: 6.10.1 | Platform:
----------------------------+-----------------------------------------------
Comment (by duncan):
Is it not enough to do:
{{{
executable run-tests
if !os(linux)
buildable: False
main-is: ...
ghc-options: ...
executable program
if !os(foo)
buildable: False
main-is: ...
ghc-options: ...
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/495#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list