Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
77386283
Commit
77386283
authored
Dec 02, 2008
by
Duncan Coutts
Browse files
Fix message in the extra-source-files field check
parent
b87252cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Distribution/PackageDescription/Check.hs
View file @
77386283
...
...
@@ -607,13 +607,15 @@ checkCabalVersion pkg =
++
"Alternatively if you require compatability with earlier Cabal "
++
"versions then list all the files explicitly."
-- check use of "extra-source-files: mk/*.in" syntax
,
checkVersion
[
1
,
6
]
(
not
(
null
extraSrcFilesUsingGlobSyntax
))
$
PackageDistInexcusable
$
"Using wildcards like "
++
commaSep
(
map
quote
$
take
3
extraSrcFilesUsingGlobSyntax
)
++
" in the 'data-files' field requires 'cabal-version: >= 1.6'. "
++
"Alternatively if you require compatability with earlier Cabal "
++
"versions then list all the files explicitly."
++
" in the 'extra-source-files' field requires "
++
"'cabal-version: >= 1.6'. Alternatively if you require "
++
"compatability with earlier Cabal versions then list all the files "
++
"explicitly."
-- check use of "source-repository" section
,
checkVersion
[
1
,
6
]
(
not
(
null
(
sourceRepos
pkg
)))
$
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment