Merge pull request #261 from pablodip/add-cider-dependency-temporatily

Remove Cider
This commit is contained in:
P 2018-02-08 20:39:15 +01:00 committed by GitHub
commit 8dd2a4f2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -69,7 +69,6 @@
[lein-auto "0.1.2"]
[lein-less "1.7.5"]
[lein-shell "0.5.0"]
[cider/cider-nrepl "0.15.0-SNAPSHOT"]
[lein-sha-version "0.1.1"]]

View File

@ -1,7 +1,7 @@
(ns commiteth.core
(:require [commiteth.handler :as handler]
[clojure.tools.nrepl.server :as nrepl-server]
[cider.nrepl :refer [cider-nrepl-handler]]
[luminus.repl-server :as repl]
[luminus.http-server :as http]
[luminus-migrations.core :as migrations]
[commiteth.config :refer [env]]
@ -31,7 +31,7 @@ repl-server
(when-let [nrepl-port (env :nrepl-port)]
(log/info "Starting NREPL server on port" nrepl-port)
(nrepl-server/start-server :port nrepl-port
:handler cider-nrepl-handler))
:handler nrepl-server/default-handler))
:stop
(when repl-server
(nrepl-server/stop-server repl-server)))