Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / common-conditional.format
blobb0f6551448fa744e68d42d7b832a6107578adc5a
1 cabal-version: 3.0
2 name:          common-conditional
3 version:       0
4 synopsis:      Common-stanza demo demo
5 build-type:    Simple
7 source-repository head
8     type:     git
9     location: https://github.com/hvr/-.git
11 flag foo
12     manual: True
14 library
15     exposed-modules:  ElseIf
16     default-language: Haskell2010
17     build-depends:    ghc-prim
19     if flag(foo)
20         build-depends:
21             base >=4.10 && <4.11,
22             containers
24         if os(windows)
25             build-depends: Win32
27 test-suite tests
28     type:          exitcode-stdio-1.0
29     main-is:       Tests.hs
30     build-depends: HUnit
32     if os(windows)
33         buildable: False
35     if flag(foo)
36         build-depends:
37             base >=4.10 && <4.11,
38             containers
40         if os(windows)
41             build-depends: Win32
43         if os(windows)
44             build-depends: Win32