switch from cprop to aero
This commit is contained in:
parent
59f4d7981a
commit
64bb2ebd2e
|
@ -1,4 +1,4 @@
|
|||
(defproject net.gered/lein-template.simple-app "0.1.3-SNAPSHOT"
|
||||
(defproject net.gered/lein-template.simple-app "0.2.0-SNAPSHOT"
|
||||
:description "Simple Clojure CLI app or tool project template."
|
||||
:url "https://github.com/gered/simple-app-template"
|
||||
:license {:name "MIT License"
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
:license {:name "MIT License"
|
||||
:url "http://opensource.org/licenses/MIT"}
|
||||
|
||||
:dependencies [[ch.qos.logback/logback-classic "1.2.7"]
|
||||
[cprop "0.1.19"]
|
||||
:dependencies [[aero "1.1.6"]
|
||||
[ch.qos.logback/logback-classic "1.2.7"]
|
||||
[mount "0.1.16"]
|
||||
[nrepl "0.9.0"]
|
||||
[org.clojure/clojure "1.10.0"]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(:gen-class)
|
||||
(:require
|
||||
[clojure.tools.logging :as log]
|
||||
[cprop.core :refer [load-config]]
|
||||
[aero.core :refer [read-config]]
|
||||
[mount.core :as mount :refer [defstate]]
|
||||
[nrepl.server :as nrepl]))
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
:start
|
||||
(do
|
||||
(log/info "Loading config.edn")
|
||||
(load-config :file "config.edn")))
|
||||
(read-config "config.edn")))
|
||||
|
||||
(defstate ^{:on-reload :noop} repl-server
|
||||
:start
|
||||
|
|
Loading…
Reference in a new issue