Yet another try to support Stack.

This commit is contained in:
scturtle
2015-08-17 13:41:46 +08:00
committed by Daniel Gröber
parent e360f7eb44
commit 320b404a8c
6 changed files with 45 additions and 2 deletions

View File

@@ -71,6 +71,9 @@ findCabalFile dir = do
appendDir :: DirPath -> [FileName] -> [FilePath]
appendDir d fs = (d </>) `map` fs
findStackConfigFile :: FilePath -> IO (Maybe FilePath)
findStackConfigFile dir = mightExist (dir </> "stack.yaml")
-- | Get path to sandbox config file
getSandboxDb :: FilePath
-- ^ Path to the cabal package root directory (containing the