Copyright | (c) 2021 8c6794b6 |
---|---|
License | BSD3 |
Maintainer | 8c6794b6 <8c6794b6@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Walk through directories and find hpc data.
Synopsis
- discover :: DiscoverArgs -> IO Report
- data DiscoverArgs = DiscoverArgs {
- da_tool :: BuildTool
- da_testsuite :: String
- da_rootdir :: FilePath
- da_builddir :: Maybe String
- da_skipdirs :: [String]
- da_verbose :: Bool
- data BuildTool
- foldDir :: (FilePath -> a -> IO a) -> a -> [FilePath] -> IO a
- defaultIgnored :: [String]
- foldDirWithIgnoring :: [String] -> (FilePath -> a -> IO a) -> a -> [FilePath] -> IO a
Discover function and types
discover :: DiscoverArgs -> IO Report Source #
Walk thorugh directory and search for .mix
directories, Haskell
source code directories, and .tix
file.
data DiscoverArgs Source #
Data type to hold arguments of discover
function.
DiscoverArgs | |
|
Tool used for building Haskell package source codes.
Cabal | For cabal-install. |
Stack | For stack. |
Auxiliary
foldDir :: (FilePath -> a -> IO a) -> a -> [FilePath] -> IO a Source #
Variant of foldDirWithIgnoring
with defaultIgnored
.
defaultIgnored :: [String] Source #
Default directory base names to ignore.