Add test cases that reproduce #7241.
[cabal.git] / cabal-testsuite / PackageTests / BuildableField / BuildableField.cabal
blobdb39bbc0bffb0216b572d4dc10bef70321b93eb3
1 name: BuildableField
2 version: 0.1.0.0
3 cabal-version: >=1.2
4 build-type: Simple
5 license: BSD3
7 flag build-exe
8   default: True
10 library
12 executable my-executable
13   build-depends: base, unavailable-package
14   main-is: Main.hs
15   if !flag(build-exe)
16     buildable: False