stack-1.5.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Upload

Contents

Description

Provide ability to upload tarballs to Hackage.

Synopsis

Upload

upload :: HackageCreds -> FilePath -> IO () Source #

Upload a single tarball with the given Uploader.

Since 0.1.0.0

uploadBytes Source #

Arguments

:: HackageCreds 
-> String

tar file name

-> ByteString

tar file contents

-> IO () 

Upload a single tarball with the given Uploader. Instead of sending a file like upload, this sends a lazy bytestring.

Since 0.1.2.1

Credentials

loadCreds :: Config -> IO HackageCreds Source #

Load Hackage credentials, either from a save file or the command line.

Since 0.1.0.0