Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

clojurebridge lein template incompatible with latest LightTable #20

Open
theleoborges opened this issue Dec 9, 2015 · 0 comments
Open

Comments

@theleoborges
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant