Skip to content

Commit

Permalink
Merge pull request #3619 from ezyang/pr/setup-verbosity
Browse files Browse the repository at this point in the history
Make internal/self-exect setup methods more chatty.
  • Loading branch information
23Skidoo authored Jul 26, 2016
2 parents 334e968 + 0ff2ebe commit b799346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cabal-install/Distribution/Client/SetupWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ type SetupMethod = Verbosity
internalSetupMethod :: SetupMethod
internalSetupMethod verbosity options _ bt mkargs = do
let args = mkargs cabalVersion
debug verbosity $ "Using internal setup method with build-type " ++ show bt
++ " and args:\n " ++ show args
info verbosity $ "Using internal setup method with build-type " ++ show bt
++ " and args:\n " ++ show args
inDir (useWorkingDir options) $
buildTypeAction bt args

Expand All @@ -323,7 +323,7 @@ selfExecSetupMethod verbosity options _pkg bt mkargs = do
let args = ["act-as-setup",
"--build-type=" ++ display bt,
"--"] ++ mkargs cabalVersion
debug verbosity $ "Using self-exec internal setup method with build-type "
info verbosity $ "Using self-exec internal setup method with build-type "
++ show bt ++ " and args:\n " ++ show args
path <- getExecutablePath
info verbosity $ unwords (path : args)
Expand Down

0 comments on commit b799346

Please sign in to comment.