cabal-version: 2.1
name:          common
version:       0
synopsis:      Common-stanza demo demo
build-type:    Simple

source-repository head
    type:     git
    location: https://github.com/hvr/-.git

library
    exposed-modules:  ElseIf
    default-language: Haskell2010
    build-depends:
        base >=4.10 && <4.11,
        containers -any,
        ghc-prim -any

    if os(windows)
        build-depends: Win32 -any

library internal
    exposed-modules:  ElseIf2
    default-language: Haskell2010
    build-depends:
        base >=4.10 && <4.11,
        containers -any,
        ghc-prim -any

    if os(windows)
        build-depends: Win32 -any

test-suite tests
    type:          exitcode-stdio-1.0
    main-is:       Tests.hs
    build-depends:
        base >=4.10 && <4.11,
        containers -any,
        HUnit -any

    if os(windows)
        build-depends: Win32 -any

    if os(windows)
        build-depends: Win32 -any

    if os(windows)
        buildable: False
