Create changelogs for 3.14.1.0 (#10591)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / common2.cabal
blob0d9b9059947425a553485a6365bff35d446ffdcd
1 cabal-version:       2.2
2 name:                common
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 common win-dows
12   if os(windows)
13     build-depends: Win32
15 common deps
16   import: win-dows
17   buildable: True
18   build-depends:
19     base >=4.10 && <4.11,
20     containers
22 library
23   import: deps
25   default-language: Haskell2010
26   exposed-modules:  ElseIf
28   build-depends:
29     ghc-prim
31 -- .expr should show libVisible: False
32 library internal
33   import: deps
35   default-language: Haskell2010
36   exposed-modules:  ElseIf2
38   build-depends:
39     ghc-prim
41 test-suite tests
42   import: deps, win-dows
44   -- buildable fields verify that we don't have duplicate field warnings
45   buildable: True
46   if os(windows)
47     buildable: False
49   type: exitcode-stdio-1.0
50   main-is: Tests.hs
52   build-depends:
53     HUnit