Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (22 sloc) 734 Bytes

Clojars.org Leiningen Plugin

This is a simple plugn for interacting with Clojars.org directly from Leiningen.

Setup

Add lein-clojars as Leiningen plugin:

lein plugin install lein-clojars 0.7.0

Create a Clojars account and paste your SSH public key into your profile. If you don't have ssh-keygen available -- perhaps you're using Windows -- then you can use:

lein keygen

SSH keys will searched for in ~/.leiningen and ~/.ssh under the names id_rsa, id_dsa and identity.

Usage

To push your project to the Clojars repository, simply type:

lein push

TODO

Some ideas for extra commands include: search, register and add-dep.