Skip to content

Instantly share code, notes, and snippets.

@ohpauleez
Created February 20, 2012 22:37
Show Gist options
  • Save ohpauleez/1871995 to your computer and use it in GitHub Desktop.
Save ohpauleez/1871995 to your computer and use it in GitHub Desktop.
Examples of usering uberclj

How to make Leiningen use uberclj for all commands

  1. Fetch the latest: wget http://www.pauldee.org/uberclj/uberclj-1.4.0-latest.jar; mv uberclj-1.4.0-latest.jar ~/.lein

  2. Update your lein bash script from:

    CLOJURE_JAR="$HOME/.m2/repository/org/clojure/clojure/1.2.1/clojure-1.2.1.jar"

To

CLOJURE_JAR="$LEIN_HOME/uberclj-1.4.0-latest.jar"
(defproject testuber "1.0.0-SNAPSHOT"
:description "An example of how to use uberclj with leiningen"
:repositories {"ohpauleez-snapshots" "https://github.com/ohpauleez/ohpauleez-maven-repo/raw/master/snapshots"}
:dependencies [[uberclj/uberclj "1.4.0-SNAPSHOT"]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment