Make cabal check warn about globs that don't match anything
These globs make `haddock`, `sdist` and `install` die, so they definitely ought to be warned about! Because of the dying behaviour, I made the checks dist-inexcusable; starting from a clean slate I would probably have only made them suspicious, but this isn't terrible.
Showing
- Cabal/ChangeLog.md 1 addition, 0 deletionsCabal/ChangeLog.md
- Cabal/Distribution/PackageDescription/Check.hs 17 additions, 1 deletionCabal/Distribution/PackageDescription/Check.hs
- cabal-testsuite/PackageTests/Check/MissingGlobDirectory2/cabal.out 1 addition, 3 deletions...tsuite/PackageTests/Check/MissingGlobDirectory2/cabal.out
- cabal-testsuite/PackageTests/Check/MissingGlobDirectory2/pkg.cabal 2 additions, 2 deletions...tsuite/PackageTests/Check/MissingGlobDirectory2/pkg.cabal
- cabal-testsuite/PackageTests/Check/MultiDotGlob2.2/data/index.dat 1 addition, 0 deletions...stsuite/PackageTests/Check/MultiDotGlob2.2/data/index.dat
- cabal-testsuite/PackageTests/Check/MultiDotGlob2.2/doc/index.html 1 addition, 0 deletions...stsuite/PackageTests/Check/MultiDotGlob2.2/doc/index.html
- cabal-testsuite/PackageTests/Check/MultiDotGlob2.2/src/index.js 1 addition, 0 deletions...testsuite/PackageTests/Check/MultiDotGlob2.2/src/index.js
- cabal-testsuite/PackageTests/Check/NoGlobMatches/cabal.out 4 additions, 0 deletionscabal-testsuite/PackageTests/Check/NoGlobMatches/cabal.out
- cabal-testsuite/PackageTests/Check/NoGlobMatches/cabal.test.hs 3 additions, 0 deletions...-testsuite/PackageTests/Check/NoGlobMatches/cabal.test.hs
- cabal-testsuite/PackageTests/Check/NoGlobMatches/pkg.cabal 14 additions, 0 deletionscabal-testsuite/PackageTests/Check/NoGlobMatches/pkg.cabal
Loading
Please register or sign in to comment