You are currently browsing the tag archive for the ‘lein’ tag.

This is for publishing a clojure project to clojars.orgs¬†when you don’t want to fiddle with PGP (which is needed to do the ‘lein deploy clojars’ command).

Assuming you have a project called ‘brickshirt’ and you’re at a command line at the root of the project:

  1. lein do pom, jar
  2. scp pom.xml target/brickshirt.jar clojars@clojars.org:

The only other assumption is that you’ve updated your clojars profile with an ssh key (you can use the same key for both clojars and github).

[Information courtesy of discussion found here)