marmalade-upload ================ [![Available on Hackage][badge-hackage]][hackage] [![License MIT][badge-license]][license] [![Build Status][badge-travis]][travis] Haskell tool to upload packages to the Emacs package archive [Marmalade][]. [badge-travis]: https://travis-ci.org/lunaryorn/marmalade-upload.svg?branch=master [travis]: https://travis-ci.org/lunaryorn/marmalade-upload [badge-hackage]: https://img.shields.io/hackage/v/marmalade-upload.svg?dummy [hackage]: https://hackage.haskell.org/package/marmalade-upload [badge-license]: https://img.shields.io/badge/license-MIT-green.svg?dummy [license]: https://github.com/lunaryorn/marmalade-upload/blob/master/LICENSE [Marmalade]: http://marmalade-repo.org Installation ------------ ### Binaries Binaries for OS X and Linux are available on the [download page][]. To install, `unzip` the archive, and move the contained `marmalade-upload` file somewhere into `$PATH`, e.g.: ```console $ unzip $ sudo cp ./marmalade-upload /usr/local/bin $ sudo chmod 755 /usr/local/bin/marmalade-upload ``` The binaries are statically linked and to not require a Haskell installation or any Haskell libraries. ### Building from Hackage Install [Haskell Platform][] and type the following command to install marmalade-upload from source: ```console $ cabal install marmalade-upload ``` Don't forget to add `~/.cabal/bin` to `$PATH`. [download page]: https://github.com/lunaryorn/marmalade-upload/releases/latest [Haskell Platform]: http://www.haskell.org/platform/ ### Building from source Install [Haskell Platform][] and type the following commands: ```console $ cabal sandbox init $ cabal install --only-dependencies $ cabal configure -f development $ cabal exec ./build.hs -- install ``` This will install the binary to `~/bin/marmalade-upload`. To choose a different prefix: ```console $ cabal exec ./build.sh -- --prefix=/usr/local install ``` Usage ----- ```console $ marmalade-upload USERNAME PACKAGE ``` Your password will be stored in the keychain of supported systems. Currently the keychains of KDE and OS X are supported. License ------- Copyright (c) 2014 Sebastian Wiesner Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.