(cabal check) Add "No internal name clash" test
[cabal.git] / cabal-testsuite / PackageTests / ShowBuildInfo / Complex / Complex.cabal
blobd8ea0a46eca2b2a7836bc2ac3a7db257f5e87824
1 cabal-version: 2.4
2 name:          Complex
3 version:       0.1.0.0
4 license:       MIT
6 library
7   build-depends:    base
8   hs-source-dirs:   src doesnt-exist
9   default-language: Haskell2010
10   exposed-modules:
11     A
12     B
14   autogen-modules:  Paths_Complex
15   other-modules:
16     C
17     D
18     Paths_Complex
20   ghc-options:      -Wall
22 executable Complex
23   main-is:          Main.lhs
24   build-depends:
25     , base
26     , Complex
28   hs-source-dirs:   app
29   autogen-modules:  Paths_Complex
30   other-modules:
31     Other
32     Paths_Complex
34   ghc-options:
35     -threaded -rtsopts "-with-rtsopts=-N -T" -Wredundant-constraints
37   default-language: Haskell2010
39 test-suite unit-test
40   type:             exitcode-stdio-1.0
41   hs-source-dirs:   test
42   build-depends:
43     , another-framework
44     , base
46   main-is:          UnitMain.hs
47   default-language: Haskell2010
49 test-suite func-test
50   type:             exitcode-stdio-1.0
51   hs-source-dirs:   test
52   build-depends:
53     , base
54     , Complex
55     , test-framework
57   main-is:          FuncMain.hs
58   default-language: Haskell2010
60 benchmark complex-benchmarks
61   type:             exitcode-stdio-1.0
62   main-is:          Main.hs
63   other-modules:    Paths_Complex
64   autogen-modules:  Paths_Complex
65   hs-source-dirs:   benchmark
66   ghc-options:      -Wall -rtsopts -threaded -with-rtsopts=-N
67   build-depends:
68     , base
69     , Complex
70     , criterion  ^>=1.1.4
72   default-language: Haskell2010