-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Trying to get it working, I had to change the project.clj generated by the clojurebridge leiningen template:
(defproject global-growth "0.1.0-SNAPSHOT"
:description "Demonstrates the use of the World Bank API"
:url "https://github.com/clojurebridge/global-growth"
:license {:name "Creative Commons Attribution License"
:url "http://creativecommons.org/licenses/by/3.0/"}
:dependencies [[org.clojure/clojure "1.6.0"]
[clj-http "0.7.7" :exclusions [org.clojure/tools.reader]]
[cheshire "5.2.0"]
[ring "1.2.1"]
[compojure "1.1.6"]
[hiccup "1.0.4"]
[org.clojure/tools.reader "0.8.8"]]
:plugins [[lein-ring "0.8.10"]]
;; :ring {:handler global-growth.web/handler}
:main ^:skip-aot global-growth.core
:target-path "target/%s"
:repl-options {:nrepl-middleware [lighttable.nrepl.handler/lighttable-ops]})Specifically, note how I had to exclude tools.reader, add an explicit dependency on a new version and finally add the lighttable middleware to :repl-options.
Without these changes I wasn't able to start a REPL from lighttable.
I'm happy to submit a PR but couldn't find the repo where the leiningen template lives.
Metadata
Metadata
Assignees
Labels
No labels