File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Cabal/Distribution/PackageDescription Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1115,12 +1115,14 @@ checkCabalVersion pkg =
1115
1115
++ " range syntax rather than a simple version number. Use "
1116
1116
++ " 'cabal-version: >= " ++ display (specVersion pkg) ++ " '."
1117
1117
1118
+ -- check syntax of cabal-version field
1118
1119
, check (specVersion pkg >= mkVersion [1 ,12 ]
1119
1120
&& not simpleSpecVersionSyntax) $
1120
1121
(if specVersion pkg >= mkVersion [2 ,0 ] then PackageDistSuspicious else PackageDistSuspiciousWarn ) $
1121
1122
" Packages relying on Cabal 1.12 or later should specify a "
1122
- ++ " version range of the form 'cabal-version: x.y'. Use "
1123
- ++ " 'cabal-version: " ++ display (specVersion pkg) ++ " '."
1123
+ ++ " specific version of the Cabal spec of the form "
1124
+ ++ " 'cabal-version: x.y'. "
1125
+ ++ " Use 'cabal-version: " ++ display (specVersion pkg) ++ " '."
1124
1126
1125
1127
-- check use of test suite sections
1126
1128
, checkVersion [1 ,8 ] (not (null $ testSuites pkg)) $
You can’t perform that action at this time.
0 commit comments