Commit 51ff8b66 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov Committed by GitHub
Browse files

Merge pull request #4030 from ezyang/pr/revert-doc-check-1.24

Revert "D.PD.Check: extra-doc-files only allowed when Cabal >= 1.18."
parents a2b9ced8 e614f721
...@@ -904,13 +904,6 @@ checkCabalVersion pkg = ...@@ -904,13 +904,6 @@ checkCabalVersion pkg =
++ "different modules then list the other ones in the " ++ "different modules then list the other ones in the "
++ "'other-languages' field." ++ "'other-languages' field."
, checkVersion [1,18]
(not . null $ extraDocFiles pkg) $
PackageDistInexcusable $
"To use the 'extra-doc-files' field the package needs to specify "
++ "at least 'cabal-version: >= 1.18'."
-- check use of reexported-modules sections -- check use of reexported-modules sections
, checkVersion [1,21] , checkVersion [1,21]
(maybe False (not.null.reexportedModules) (library pkg)) $ (maybe False (not.null.reexportedModules) (library pkg)) $
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment