better error message for devel flags
This commit is contained in:
parent
74b1dc4a77
commit
8e1ca187b3
@ -197,7 +197,7 @@ checkCabalFile gpd = case D.condLibrary gpd of
|
|||||||
Just ct ->
|
Just ct ->
|
||||||
case lookupDevelLib ct of
|
case lookupDevelLib ct of
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
putStrLn "Error: no library configuration for -fdevel"
|
putStrLn "Error: no development flag found in your configuration file. Expected a 'library-only' flag or the older 'devel' flag"
|
||||||
exitFailure
|
exitFailure
|
||||||
Just dLib ->
|
Just dLib ->
|
||||||
case (D.hsSourceDirs . D.libBuildInfo) dLib of
|
case (D.hsSourceDirs . D.libBuildInfo) dLib of
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user