mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-03-11 03:06:35 +01:00
Slightly less wordy progress report
This commit is contained in:
parent
b2b5758ff0
commit
72a7ecc252
@ -512,11 +512,12 @@ cabal env prefix logfile cwd args = do
|
||||
(\ClosedStream UseProvidedHandle UseProvidedHandle ->
|
||||
(return ()))
|
||||
return ExitSuccess
|
||||
logLn env Normal
|
||||
(prefix <> T.pack (fromMaybe "" (listToMaybe args)) <> ": " <>
|
||||
case code of
|
||||
ExitFailure{} -> "FAIL"
|
||||
ExitSuccess{} -> "OK")
|
||||
case code of
|
||||
ExitFailure{} ->
|
||||
logLn env Normal
|
||||
(prefix <> T.pack (fromMaybe "" (listToMaybe args)) <> ": " <>
|
||||
"FAIL")
|
||||
ExitSuccess{} -> return ()
|
||||
return code
|
||||
where cmd' = "cabal" :: String
|
||||
exitFailing :: ProcessExitedUnsuccessfully -> IO ExitCode
|
||||
|
||||
Loading…
Reference in New Issue
Block a user