Un-ignore .bat files
[cabal.git] / cabal-testsuite / PackageTests / AutogenModules / Package / my.cabal
blob103b8d7b7a121cf74cddbb7418f3ec18f2c65030
1 cabal-version: 3.12
2 name: AutogenModules
3 version: 0.1
4 license: BSD-3-Clause
5 license-file: LICENSE
6 author: Federico Mastellone
7 maintainer: Federico Mastellone
8 synopsis: AutogenModules
9 category: PackageTests
10 build-type: Simple
12 description:
13     Check that Cabal recognizes the autogen-modules fields below.
15 Library
16     default-language: Haskell2010
17     build-depends: base == 4.*
18     exposed-modules:
19         MyLibrary
20         PackageInfo_AutogenModules
21         Paths_AutogenModules
22         MyLibHelperModule
23     other-modules:
24         MyLibModule
25     autogen-modules:
26         MyHelperModule
28 Executable Exe
29     default-language: Haskell2010
30     main-is: Dummy.hs
31     build-depends: base == 4.*
32     other-modules:
33         MyExeModule
34         PackageInfo_AutogenModules
35         Paths_AutogenModules
36         MyExeHelperModule
37     autogen-modules:
38         MyHelperModule
40 Test-Suite Test
41     default-language: Haskell2010
42     main-is: Dummy.hs
43     type: exitcode-stdio-1.0
44     build-depends: base == 4.*
45     other-modules:
46         MyTestModule
47         PackageInfo_AutogenModules
48         Paths_AutogenModules
49         MyTestHelperModule
50     autogen-modules:
51         MyHelperModule
53 Benchmark Bench
54     default-language: Haskell2010
55     main-is: Dummy.hs
56     type: exitcode-stdio-1.0
57     build-depends: base == 4.*
58     other-modules:
59         MyBenchModule
60         PackageInfo_AutogenModules
61         Paths_AutogenModules
62         MyBenchHelperModule
63     autogen-modules:
64         MyHelperModule