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