Safe Haskell | None |
---|---|
Language | Haskell2010 |
Create a bundle to be uploaded to Stackage Server.
- serverBundle :: EpochTime -> Text -> Text -> BuildPlan -> LByteString
- epochTime :: IO EpochTime
- bpAllPackages :: BuildPlan -> Map PackageName Version
- docsListing :: BuildPlan -> FilePath -> IO DocMap
- createBundleV2 :: CreateBundleV2 -> IO ()
- data CreateBundleV2 = CreateBundleV2 {}
- data SnapshotType
- writeIndexStyle :: Maybe Text -> FilePath -> IO [String]
- type DocMap = Map Text PackageDocs
- data PackageDocs = PackageDocs {}
Documentation
:: EpochTime | |
-> Text | title |
-> Text | slug |
-> BuildPlan | |
-> LByteString |
bpAllPackages :: BuildPlan -> Map PackageName Version Source #
All package/versions in a build plan, including core packages.
Note that this may include packages not available on Hackage.
createBundleV2 :: CreateBundleV2 -> IO () Source #
Create a V2 bundle, which contains the build plan, metadata, docs, and doc map.
data CreateBundleV2 Source #
CreateBundleV2 | |
|
data SnapshotType Source #
data PackageDocs Source #