Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Clojars plugin for Leiningen

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 project.clj
README.md

Clojars.org Leiningen Plugin

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

Setup

Add lein-clojars to your project's dev-dependencies. For example:

(defproject my-cool-library "1.0-SNAPSHOT" :dev-dependencies [[lein-clojars "0.5"]] :repositories [["clojars" "http://clojars.org/repo"]])

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.

Something went wrong with that request. Please try again.