Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / BuildDeps / SameDepsAllRound / SameDepsAllRound.cabal
blob60fe45f761eef3c413430c2ded03ea9d654a992d
1 name: SameDepsAllRound
2 version: 0.1
3 license: BSD3
4 cabal-version: >= 1.6
5 author: Stephen Blackheath
6 stability: stable
7 synopsis: Same dependencies all round
8 category: PackageTests
9 build-type: Simple
11 description:
12     Check for the "old build-dep behaviour" namely that we get the same
13     package dependencies on all build targets, even if different ones
14     were specified for different targets
15     .
16     Here all .hs files use the three packages mentioned, so this shows
17     that build-depends is not target-specific.  This is the behaviour
18     we want when cabal-version contains versions less than 1.7.
20 ---------------------------------------
22 Library
23     exposed-modules: MyLibrary
24     build-depends: base, bytestring
26 Executable lemon
27     main-is: lemon.hs
28     build-depends: pretty
30 Executable pineapple
31     main-is: pineapple.hs