Merge pull request #10493 from Sdywolf/doc-refine/repl
[cabal.git] / cabal-testsuite / PackageTests / Check / Cond / Before / pkg.cabal
blob28a8369d248d9f65e7bd7a95e7f590ab5c31a9fb
1 cabal-version: 3.0
2 name: pkg
3 synopsis: synopsis
4 description: description
5 version: 0
6 category: example
7 maintainer: none@example.com
8 license: GPL-3.0-or-later
10 flag my-flag
11   description: Test for branches.
12   default: False
13   manual: True
15 executable exe
16   if flag(my-flag)
17     main-is: Main.hs
18     build-depends: async, unix
19     c-sources: executable/link.c
20   else
21     main-is: ParallelMain.hs
23   if os(windows)
24     ghc-options: -pgml misc/static-libstdc++
26   default-language: Haskell2010