Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- cabalIndentation :: Text
- unlinesWithIndent :: [Text] -> Text
- genCsrcFiles :: (TopLevelImportHeader, [ClassModule]) -> [AddCInc] -> [AddCSrc] -> [String]
- genIncludeFiles :: String -> ([ClassImportHeader], [TemplateClassImportHeader]) -> [AddCInc] -> [String]
- genCppFiles :: (TopLevelImportHeader, [ClassModule]) -> [AddCSrc] -> [String]
- genExposedModules :: String -> ([ClassModule], [TemplateClassModule]) -> [String]
- genOtherModules :: [ClassModule] -> [String]
- genPkgDeps :: [CabalName] -> [String]
- cabalTemplate :: Text
- genCabalInfo :: Cabal -> String -> PackageConfig -> [String] -> GeneratedCabalInfo
- genCabalFile :: GeneratedCabalInfo -> Text
- buildCabalFile :: Cabal -> String -> PackageConfig -> [String] -> FilePath -> IO ()
- buildJSONFile :: Cabal -> String -> PackageConfig -> [String] -> FilePath -> IO ()
Documentation
unlinesWithIndent :: [Text] -> Text Source #
genCsrcFiles :: (TopLevelImportHeader, [ClassModule]) -> [AddCInc] -> [AddCSrc] -> [String] Source #
:: String | package name |
-> ([ClassImportHeader], [TemplateClassImportHeader]) | |
-> [AddCInc] | |
-> [String] |
genCppFiles :: (TopLevelImportHeader, [ClassModule]) -> [AddCSrc] -> [String] Source #
genExposedModules :: String -> ([ClassModule], [TemplateClassModule]) -> [String] Source #
generate exposed module list in cabal file
genOtherModules :: [ClassModule] -> [String] Source #
generate other modules in cabal file
genPkgDeps :: [CabalName] -> [String] Source #
generate additional package dependencies.
cabalTemplate :: Text Source #
:: Cabal | |
-> String | |
-> PackageConfig | |
-> [String] | extra libs |
-> GeneratedCabalInfo |