ghc-parmake-0.1.6: A parallel wrapper for 'ghc --make'.

Safe HaskellSafe-Inferred

GHC.ParMake.Util

Synopsis

Documentation

runProcessSource

Arguments

:: OutputHooks

What to do with stdout & stderr

-> Maybe FilePath

Working directory

-> FilePath

Filename of the executable

-> [String]

Arguments

-> IO ExitCode

Process exit code

Process creation.

upToDateCheck :: FilePath -> [FilePath] -> IO UpToDateStatusSource

Is this target up to date w.r.t. its dependencies?

data OutputHooks Source

Constructors

OutputHooks 

Fields

putStrHook :: !(String -> IO ())
 
putStrLnHook :: !(String -> IO ())
 
putStrErrHook :: !(String -> IO ())
 
putStrLnErrHook :: !(String -> IO ())
 
flushStdOutHook :: !(IO ())
 

warn :: OutputHooks -> Verbosity -> String -> IO ()Source

Non fatal conditions that may be indicative of an error or problem.

We display these at the normal verbosity level.

info :: OutputHooks -> Verbosity -> String -> IO ()Source

More detail on the operation of some action.

We display these messages when the verbosity level is verbose

debug :: OutputHooks -> Verbosity -> String -> IO ()Source

Detailed internal debugging information

We display these messages when the verbosity level is deafening

fatal :: String -> aSource

Fatal error.

noticeRaw :: OutputHooks -> Verbosity -> String -> IO ()Source

Useful status messages.

We display these at the normal verbosity level.

This is for the ordinary helpful status messages that users see. Just enough information to know that things are working but not floods of detail.