Merge pull request #9792 from haskell/mergify/bp/3.12/pr-9768
Make `check` recognise `main-is` in conditional branches (backport #9768)
Showing
- Cabal-syntax/src/Distribution/Types/CondTree.hs 16 additions, 8 deletionsCabal-syntax/src/Distribution/Types/CondTree.hs
- Cabal/src/Distribution/PackageDescription/Check/Conditional.hs 48 additions, 4 deletions.../src/Distribution/PackageDescription/Check/Conditional.hs
- cabal-testsuite/PackageTests/Check/Cond/After/cabal.out 2 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/After/cabal.out
- cabal-testsuite/PackageTests/Check/Cond/After/cabal.test.hs 5 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/After/cabal.test.hs
- cabal-testsuite/PackageTests/Check/Cond/After/pkg.cabal 26 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/After/pkg.cabal
- cabal-testsuite/PackageTests/Check/Cond/Before/cabal.out 2 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Before/cabal.out
- cabal-testsuite/PackageTests/Check/Cond/Before/cabal.test.hs 5 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Before/cabal.test.hs
- cabal-testsuite/PackageTests/Check/Cond/Before/pkg.cabal 26 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Before/pkg.cabal
- cabal-testsuite/PackageTests/Check/Cond/Deep/cabal.out 2 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Deep/cabal.out
- cabal-testsuite/PackageTests/Check/Cond/Deep/cabal.test.hs 5 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Deep/cabal.test.hs
- cabal-testsuite/PackageTests/Check/Cond/Deep/pkg.cabal 34 additions, 0 deletionscabal-testsuite/PackageTests/Check/Cond/Deep/pkg.cabal
- cabal-testsuite/PackageTests/Check/Cond/DeepMissing/cabal.out 5 additions, 0 deletions...l-testsuite/PackageTests/Check/Cond/DeepMissing/cabal.out
- cabal-testsuite/PackageTests/Check/Cond/DeepMissing/cabal.test.hs 5 additions, 0 deletions...stsuite/PackageTests/Check/Cond/DeepMissing/cabal.test.hs
- cabal-testsuite/PackageTests/Check/Cond/DeepMissing/pkg.cabal 35 additions, 0 deletions...l-testsuite/PackageTests/Check/Cond/DeepMissing/pkg.cabal
Loading
Please register or sign in to comment