Find cabal file and sandbox at the same time.
This commit is contained in:
11
Types.hs
11
Types.hs
@@ -62,6 +62,17 @@ quote x = "\"" ++ x ++ "\""
|
||||
addNewLine :: String -> String
|
||||
addNewLine = (++ "\n")
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
data Cradle = Cradle {
|
||||
cradleCurrentDir :: FilePath
|
||||
, cradleCabalDir :: Maybe FilePath
|
||||
, cradleCabalFile :: Maybe FilePath
|
||||
, cradlePackageConfOpts :: Maybe [String]
|
||||
} deriving Show
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
type GHCOption = String
|
||||
type IncludeDir = FilePath
|
||||
type Package = String
|
||||
|
||||
Reference in New Issue
Block a user