Copyright | (c) 2014-2015 Guillaume Nargeot, (c) 2015-2016 Felipe Lessa |
---|---|
License | BSD3 |
Maintainer | Michele Lacchia <michelelacchia@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Utility functions related to Stack.
- stack :: [String] -> IO String
- checkStackVersion :: IO Bool
- getHpcDir :: String -> IO FilePath
- getBaseMixDir :: IO FilePath
- getStackQuery :: IO StackQuery
- getProjectKey :: String -> IO String
- getStackProjects :: IO [StackProject]
Documentation
checkStackVersion :: IO Bool Source #
Verify that the required Stack is present.
getBaseMixDir :: IO FilePath Source #
Return the HPC mix directory, where module data is stored. This
path needs to be prefixed with the project's path
(cf. stackProjectPath
).
getStackQuery :: IO StackQuery Source #
Get relevant information from stack query
. Used to find
package filepaths.
getStackProjects :: IO [StackProject] Source #
Get the Stack info needed to find project files.