Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utilities for package.yaml parsing.
Synopsis
- listFilesRecursive :: FilePath -> IO (Set FilePath)
- getSectionDependencyNames :: Section a -> Set DependencyName
- getSectionFiles :: FilePath -> Section a -> IO (Set FilePath)
- getSectionCompilables :: FilePath -> CompilableType -> Set DependencyName -> Map String (Section a) -> IO [Compilable]
- parsePackageYaml :: FilePath -> IO Package
- parseStackYaml :: FilePath -> [Text] -> IO [Package]
Documentation
listFilesRecursive :: FilePath -> IO (Set FilePath) Source #
Recursively list files in a directory, ignoring symlinks.
getSectionDependencyNames :: Section a -> Set DependencyName Source #
Get the dependencies for a thing to compile.
getSectionFiles :: FilePath -> Section a -> IO (Set FilePath) Source #
Get the Haskell source files to compile.
getSectionCompilables :: FilePath -> CompilableType -> Set DependencyName -> Map String (Section a) -> IO [Compilable] Source #
Parse a thing to compile.