name: AutogenModules
version: 0.1
license: BSD3
license-file: LICENSE
author: Federico Mastellone
maintainer: Federico Mastellone
synopsis: AutogenModules
category: PackageTests
build-type: Simple
cabal-version: 1.24

description:
    Check that Cabal recognizes the autogen-modules fields below.

Library
    default-language: Haskell2010
    build-depends: base
    exposed-modules:
        MyLibrary
        Paths_AutogenModules
        MyLibHelperModule
    other-modules:
        MyLibModule
    autogen-modules:
        MyLibHelperModule

Executable Exe
    default-language: Haskell2010
    main-is: Dummy.hs
    build-depends: base
    other-modules:
        MyExeModule
        Paths_AutogenModules
        MyExeHelperModule
    autogen-modules:
        MyExeHelperModule

Test-Suite Test
    default-language: Haskell2010
    main-is: Dummy.hs
    type: exitcode-stdio-1.0
    build-depends: base
    other-modules:
        MyTestModule
        Paths_AutogenModules
        MyTestHelperModule
    autogen-modules:
        MyTestHelperModule

Benchmark Bench
    default-language: Haskell2010
    main-is: Dummy.hs
    type: exitcode-stdio-1.0
    build-depends: base
    other-modules:
        MyBenchModule
        Paths_AutogenModules
        MyBenchHelperModule
    autogen-modules:
        MyBenchHelperModule
