| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stackage.ServerBundle
Description
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 ByteString
Documentation
Arguments
| :: 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.
Arguments
| :: BuildPlan | |
| -> FilePath | docs directory |
| -> IO ByteString |