Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

conservatively inlining the most likely deps that could crash with project versions #48

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion lein-light-nrepl/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# lein-light-nrepl

lein-light-nrepl is the nrepl-based client for Light Table's clojure and clojurescript evaluation. Basically everything that requires the JVM will be found in this project.
lein-light-nrepl is the nrepl-based client for Light Table's clojure and clojurescript evaluation. Basically everything that requires the JVM will be found in this project.


## Building

Some dependencies have been inlined using [mranderson](https://github.com/benedekfazekas/mranderson). Hence building and working with the project
is a little more cumbersome. Please consult the readme for mranderson.


- `lein source-deps` Will do the work with inlining dependencies
- `lein with-profile plugin.mranderson/config install` will install the dependency inlined jar to your local repo
- `lein with-profile +plugin.mranderson/config deploy clojars` - for releasing a version to clojars
- `lein clean` if you add or remove dependencies


Note: When developing locally with mranderson, you'll need to modify source in `target/srcdeps`
8 changes: 4 additions & 4 deletions lein-light-nrepl/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
:url "https://github.com/LightTable/Clojure/tree/master/lein-light-nrepl"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:plugins [[thomasa/mranderson "0.4.3"]]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.nrepl "0.2.3"]
[commons-io/commons-io "2.4"]
[ibdknox/tools.reader "0.8.1"]
[org.clojure/tools.reader "0.7.10"]
^:source-dep [org.clojure/tools.reader "0.9.2"]
[ibdknox/analyzer "0.0.2"]
[clj-stacktrace "0.2.7"]
^:source-dep [clj-stacktrace "0.2.7"]
[fs "1.3.3"]
[org.clojure/clojurescript "0.0-2202"
:exclusions [org.apache.ant/ant]]
[clojure-complete "0.2.3"]
[cheshire "5.2.0"]]
^:source-dep [cheshire "5.2.0"]]
:jvm-opts ["-Xmx1g"])
4 changes: 2 additions & 2 deletions lein-light-nrepl/src/lighttable/nrepl/cljs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[clojure.tools.nrepl.middleware :refer [set-descriptor!]]
[clojure.tools.nrepl.middleware.interruptible-eval :refer [interruptible-eval *msg*]]
[clojure.tools.nrepl.misc :refer [response-for returning]]
[ibdknox.tools.reader :as reader]
[ibdknox.tools.reader.reader-types :as rt])
[clojure.tools.reader :as reader]
[clojure.tools.reader.reader-types :as rt])
(:import java.io.Writer))

(def js-dependency-index
Expand Down
4 changes: 2 additions & 2 deletions lein-light-nrepl/src/lighttable/nrepl/eval.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
[clojure.tools.nrepl.middleware :refer [set-descriptor!]]
[clojure.tools.nrepl.middleware.interruptible-eval :refer [interruptible-eval *msg*]]
[clojure.tools.nrepl.misc :refer [response-for returning]]
[ibdknox.tools.reader :as reader]
[ibdknox.tools.reader.reader-types :as rt])
[clojure.tools.reader :as reader]
[clojure.tools.reader.reader-types :as rt])
(:import java.io.Writer))

(defn try-read [rdr]
Expand Down