-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
66 lines (66 loc) · 4.06 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
(defproject librarian-clojure "0.0.1-SNAPSHOT"
:description "Book manager in Clojure"
:url "http://github.com/jaceklaskowski/librarian-clojure"
:min-lein-version "2.0.0"
:license {:name "Eclipse Public License"}
:dependencies [[ring/ring-jetty-adapter "1.1.6" :exclusions [org.clojure/clojure]]
[ring/ring-devel "1.1.6" :exclusions [org.clojure/clojure]]
[compojure "1.1.3" :exclusions [org.clojure/clojure
ring/ring-core]]
[hiccup "1.0.2" :exclusions [org.clojure/clojure]]
[congomongo "0.3.3" :exclusions [org.clojure/clojure]]
[org.clojure/data.json "0.2.1" :exclusions [org.clojure/clojure]]
[jbcrypt "0.3" :exclusions [org.clojure/clojure]]
[com.cemerick/friend "0.1.3" :exclusions [org.clojure/clojure]]
[lib-noir "0.3.1" :exclusions [org.clojure/clojure]]
[enlive "1.0.1" :exclusions [org.clojure/clojure]]
[jayq "2.0.0" :exclusions [org.clojure/clojure]]
[org.clojure/clojure "1.4.0"]]
:plugins [[lein-cljsbuild "0.3.0"]]
:hooks [leiningen.cljsbuild]
:repl-init librarian-clojure.repl
:ring {:handler librarian-clojure.core/app
:init librarian-clojure.run/run-local-ring}
:main librarian-clojure.run
:profiles {;; https://devcenter.heroku.com/articles/clojure-support#runtime-behavior
:production {:misc "configuration"
:main librarian-clojure.run/run-heroku
:mirrors {#"central|clojars"
"http://s3pository.herokuapp.com/clojure"}
:aot :all}
:dev {:main librarian-clojure.run/run-local
:dependencies [[ring-mock "0.1.1" :exclusions [org.clojure/clojure
hiccup]]
[midje "1.5-alpha3" :exclusions [org.clojure/clojure]]
[com.stuartsierra/lazytest "1.2.3" :exclusions [org.clojure/clojure]]]
:plugins [[lein-midje "2.0.3"]]
:hooks [leiningen.cljsbuild]
:repl-options {:init-ns librarian-clojure.repl}
:warn-on-reflection true}
;; FIXME deps copied from the dev profile
:1.5 {:dependencies [[org.clojure/clojure "1.5.0-master-SNAPSHOT"]
[ring-mock "0.1.1" :exclusions [org.clojure/clojure
hiccup]]
[midje "1.5-alpha3"
:exclusions [org.clojure/clojure]]
[com.stuartsierra/lazytest "1.2.3" :exclusions [org.clojure/clojure]]]
:plugins [[lein-midje "2.0.3"]]}}
:cljsbuild {:builds
[{:source-paths ["src-cljs"]
:id "dev"
:compiler {:pretty-print true
:output-to "resources/public/js/librarian-cljs.js"
:optimizations :whitespace}
:jar true}
;; :id "production" TBD
{:source-paths ["src-cljs" "test-cljs"]
:id "test"
:compiler {:pretty-print true
:output-to "resources/public/tests/js/librarian-tests.js"
:optimizations :whitespace}}]}
:aliases {"run-local" ["with-profile" "dev" "run"]
"all" ["with-profile" "dev:1.5"]}
:repositories [["sonatype-snapshots"
"http://oss.sonatype.org/content/repositories/snapshots/"]
["stuart" "http://stuartsierra.com/maven2"]
["stuart-snapshots" "http://stuartsierra.com/m2snapshots"]])