|
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
Instances | |
|
|
| type FranchiseFlag = OptDescr (C ()) | Source |
|
|
| build :: [C (OptDescr (C ()))] -> C [String] -> IO () | Source |
|
|
| buildWithArgs :: [String] -> [C (OptDescr (C ()))] -> C [String] -> IO () | Source |
|
|
| buildTarget :: String -> C () | Source |
|
|
| executable :: String -> String -> [String] -> C [String] | Source |
|
|
| privateExecutable :: String -> String -> [String] -> C [String] | Source |
|
|
|
|
|
|
| replace :: Show a => String -> a -> C () | Source |
|
|
| replaceLiteral :: String -> String -> C () | Source |
|
|
|
|
|
|
| defineAs :: String -> String -> C () | Source |
|
|
| isDefined :: String -> C Bool | Source |
|
|
|
|
| catchC :: C a -> (String -> C a) -> C a | Source |
|
|
| unlessC :: Monoid a => C Bool -> C a -> C a | Source |
|
|
| whenC :: Monoid a => C Bool -> C a -> C a | Source |
|
|
|
| csum is a variant of msum that preserves the last error output.
|
|
|
|
|
| Create a build target for test suites.
|
|
| testOne :: String -> String -> String -> C () | Source |
|
|
| testOutput :: String -> String -> C String -> C () | Source |
|
|
|
|
|
|
| addToRule :: String -> C () -> C () | Source |
|
|
|
|
|
|
Instances | |
|
|
|
|
|
|
|
|
|
| cacheifC :: String -> C Bool -> C () -> C () -> C () | Source |
|
|
|
|
| requireWithFeedback :: String -> C String -> C () | Source |
|
|
| requireWithPrereq :: String -> String -> C [String] -> C () -> C () | Source |
|
|
|
|
| checkOnce :: String -> C () -> C () | Source |
|
|
| requireModule :: String -> C () | Source |
|
|
| lookForModule :: String -> C Bool | Source |
|
|
| withModule :: String -> C () -> C () | Source |
|
|
| requireModuleExporting :: String -> String -> String -> C () | Source |
|
|
| lookForModuleExporting :: String -> String -> String -> C Bool | Source |
|
|
| withModuleExporting :: String -> String -> String -> C () -> C () | Source |
|
|
| findProgram :: String -> [String] -> C String | Source |
|
|
| withProgram :: Monoid a => String -> [String] -> (String -> C a) -> C a | Source |
|
|
|
|
| configuredProgram :: String -> C String | Source |
|
|
| withConfiguredProgram :: String -> (String -> C a) -> C a | Source |
|
|
| requireLib :: String -> String -> String -> C () | Source |
|
|
| lookForLib :: String -> String -> String -> C Bool | Source |
|
|
| withLib :: String -> String -> String -> C () -> C () | Source |
|
|
| checkHeader :: String -> C () | Source |
|
|
| withHeader :: String -> C () -> C () | Source |
|
|
| findPackagesFor :: String -> C () | Source |
|
|
| withLibOutput :: String -> String -> String -> (String -> C ()) -> C () | Source |
|
|
| package :: String -> [String] -> [String] -> C [String] | Source |
|
|
|
|
|
|
|
|
| addExtraData :: String -> String -> C () | Source |
|
|
| haveExtraData :: String -> C Bool | Source |
|
|
| installPackageInto :: String -> String -> C () | Source |
|
|
|
| amInWindows is a hokey function to identify windows systems. It's
probably more portable than checking System.Info.os, which isn't saying
much.
|
|
|
|
| darcsDist :: String -> [String] -> C String | Source |
|
|
|
|
|
|
|
| Constructors | | Numbered | | | NumberedPreRc | | | AnyTag | |
|
|
|
|
|
|
|
|
|
|
|
|
| :: String | input filename
| | -> String | output filename
| | -> C [String] | returns list of files generated
| splitMarkdown reads its first argument, which is presumed to be
marked-up markdown, and generates any files indicated in the contents.
It also outputs a cleaned version of the file that is standard markdown
and can be processed by markdown (or pandoc).
If the output filename is an empty string, then the output filename is
generated from the input filename.
|
|
|
| markdownToHtml :: String -> String -> String -> C [String] | Source |
|
| markdownToHtml defines a rule for converting a markdown file into an
html file.
|
|
| markdownStringToHtmlString :: String -> String -> C String | Source |
|
| markdownStringToHtml accepts the actual markdown content as a string
intput, rather than a filename, and it returns the html contents, rather
than creating a file, but is otherwise quite similar to markdownToHtml.
|
|
| autoHeader :: FilePath -> C () | Source |
|
|
|
|
|
|
|
|
|
|
| rmGhcFlags :: [String] -> C () | Source |
|
|
| setOutputDirectory :: String -> C () | Source |
|
|
|
| :: String | Command
| | -> [String] | Arguments
| | -> C () | | | Run a command
|
|
|
|
| :: String | Program name
| | -> [String] | Arguments
| | -> C String | Output
| | Run a process with a list of arguments and get the resulting output from stdout.
|
|
|
|
| :: String | Program name
| | -> [String] | Arguments
| | -> String | stdin
| | -> C String | output
| | Run a process with a list of arguments and a string as input and get
the resulting output from stdout.
|
|
|
| systemOutErrToFile :: String -> [String] -> String -> C ExitCode | Source |
|
| Run a process with a list of arguments and send anything from
stderr or stdout to a file
|
|
|
| Change current subdirectory
|
|
|
| mkdir makes a directory and its parents if it doesn't exist.
|
|
|
| Return the current franchise working directory. This might not
be the same thing as the true working directory, as franchise
maintains its own internal concept of a working directory, so as to
allow separate build threads to have separate working directories
in order to build in parallel.
|
|
|
|
|
| cat is just a strict readFile.
|
|
|
|
| mv :: String -> String -> C () | Source |
|
|
| mkFile :: FilePath -> String -> C () | Source |
|
|
| withDirectory :: String -> C a -> C a | Source |
|
|
|
|
| splitPath :: FilePath -> (FilePath, FilePath) | Source |
|
|
| stripPrefix :: Eq a => [a] -> [a] -> Maybe [a] | Source |
|
|
| setEnv :: String -> String -> C () | Source |
|
|
| getEnv :: String -> C (Maybe String) | Source |
|
|
| addToPath :: FilePath -> C () | Source |
|
|
| addToGhcPath :: FilePath -> C () | Source |
|
|
|
|
|
|
| putSV :: String -> String -> C () | Source |
|
|
| splitFile :: String -> (String -> [(FilePath, String)]) -> C [FilePath] | Source |
|
| Create a build target for test suites.
|
|
| mapDirectory :: (FilePath -> C a) -> FilePath -> C [a] | Source |
|
|
|
|
|
|
| extraData :: String -> String | Source |
|
|
| Produced by Haddock version 0.8 |