private-hackage-uploader-0.2.3.0: Upload a package to the public or private hackage, building its docs

Safe HaskellNone
LanguageHaskell2010

Distribution.Hackage.Upload

Description

Upload a package to the public or private hackage, building its docs.

Synopsis

Documentation

data HackageSettings Source #

A small subset of all available hackage paths and flags that can be specified to be used when uploading.

buildAndUploadPackage :: HackageSettings -> Sh UploadStatus Source #

Build a package and upload it.

hackageUpload :: HackageSettings -> IO () Source #

Upload a package with the specified hackage settings.

uploadDocs :: UploadStatus -> HackageSettings -> Sh () Source #

Create and upload haddocks of a package.

This uses the old method that should work with old cabals and old hackage servers. TODO: update it to the method used in cabal upload or perhaps switch to cabal upload altogether as soon as in handles private hackage servers and more options.