A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rplevy/contrib-repl below:

GitHub - rplevy/contrib-repl: nREPL middleware

nREPL middleware to look up the latest versions of all Clojure contrib libraries and add them as dependencies. Can also be used manually in an already-running REPL.

###Option A. Use as nREPL middleware

Edit project.clj:

  :dependencies [[rplevy/contrib-repl "0.1.2"]]
  :repl-options {:nrepl-middleware [contrib-repl.middleware/add-contrib-deps]}

Then run lein repl to enter a repl with all contrib dependencies added.

###Option B. Invoke from an already running REPL

In a REPL session:

(require '[cemerick.pomegranate :as pom])
(pom/add-dependencies :coordinates '[[rplevy/contrib-repl "0.1.2"]]
                      :repositories {"clojars" "http://clojars.org/repo"})
(require '[contrib-repl.manually :refer [add-contrib-deps]])
(add-contrib-deps) ; add all of the contrib libraries

You can also add just a subset of the contrib libraries:

(add-contrib-deps ["tools.trace" "core.match"]) ; only add these libraries

Copyright © 2012 Robert P. Levy

Distributed under the Eclipse Public License, the same as Clojure.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4