dyre-0.8.12: Dynamic reconfiguration in Haskell

Safe HaskellNone

Config.Dyre.Compile

Description

Compiling the custom executable. The majority of the code actually deals with error handling, and not the compilation itself per se.

Synopsis

Documentation

customCompile :: Params cfgType -> IO ()Source

Attempts to compile the configuration file. Will return a string containing any compiler output.

getErrorPath :: Params cfgType -> IO FilePathSource

Return the path to the error file.

getErrorString :: Params cfgType -> IO (Maybe String)Source

If the error file exists and actually has some contents, return Just the error string. Otherwise return Nothing.