-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
33 lines (33 loc) · 1.49 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(defproject bract/demo.diceroll "0.6.2"
:description "Bract sample Ring webapp to roll a dice"
:url "https://github.com/bract/demo.diceroll"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:global-vars {*warn-on-reflection* true
*assert* true
*unchecked-math* :warn-on-boxed}
:min-lein-version "2.7.1"
:pedantic? :warn
:dependencies [[org.clojure/clojure "1.10.2"]
[bract/bract.cli "0.6.2-0.1.1"]
[bract/bract.ring "0.6.2-0.2.0"]
;; web servers (uncomment any one)
;;[aleph "0.4.6" :exclusions [org.clojure/tools.logging]]
[http-kit "2.5.3"]
;;[org.immutant/immutant "2.1.10"]
;;[ring/ring-jetty-adapter "1.8.2"]
;; web
[ring/ring-core "1.8.2"]]
:target-path "target/%s"
:plugins [[lein-ring "0.12.5"]]
:ring {:handler bract.ring.dev/handler
:init bract.ring.dev/init!
:port 3000
:nrepl {:start? true :port 3001}}
:profiles {:dev {:dependencies [[bract/bract.dev "0.6.2-0.2.0"]]
:repl-options {:init-ns bract.dev.repl
:port 3001}
:main ^:skip-aot bract.core.dev}
:uberjar {:aot [bract.core.main]
:main ^:skip-aot bract.core.main
:pedantic? :abort}})