Skip to content

clojurebridge lein template incompatible with latest LightTable #20

@theleoborges

Description

@theleoborges

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions