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

Safe HaskellSafe
LanguageHaskell98

GHC.ParMake.Util

Synopsis

Documentation

runProcess Source #

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 UpToDateStatus Source #

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

data OutputHooks Source #

Constructors

OutputHooks 

Fields

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 -> a Source #

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.