adding doc to findCradle.

This commit is contained in:
Kazu Yamamoto 2013-09-20 15:53:51 +09:00
parent 49791fb6ea
commit 39bccf8b92

View File

@ -12,6 +12,9 @@ import System.FilePath ((</>),takeDirectory)
----------------------------------------------------------------
-- | Finding 'Cradle'.
-- Find a cabal file by tracing ancestor directories.
-- Find a sandbox according to a cabal sandbox config
-- in a cabal directory.
findCradle :: IO Cradle
findCradle = do
wdir <- getCurrentDirectory