/
project.clj
180 lines (180 loc) · 9.11 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
(defproject net.kronkltd/jiksnu "0.2.0-SNAPSHOT"
:description "distributed social network"
:url "https://github.com/duck1123/jiksnu"
:author "Daniel E. Renfer <duck@kronkltd.net>"
:min-lein-version "2.0.0"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src" "src-cljs"]
:resource-paths ["resources" "target/resources"]
:dependencies [[ciste "0.6.0-SNAPSHOT"
:exclusions [ring/ring-core
org.clojure/tools.reader
org.clojure/clojurescript
;; xom
]]
[ciste/ciste-incubator "0.1.0-SNAPSHOT"
:exclusions [ciste ciste/ciste-core]]
[clj-factory "0.2.2-SNAPSHOT"]
[clj-time "0.11.0"]
[clj-http "2.0.1"]
[clojurewerkz/mailer "1.3.0"]
[compojure "1.4.0"]
[clojurewerkz/support "1.1.0"]
[com.cemerick/friend "0.2.1"]
[com.flybe/socket-rocket "0.1.9"]
[com.novemberain/monger "3.0.2"]
[com.novemberain/validateur "2.5.0"]
[com.taoensso/timbre "4.2.1"]
[crypto-random "1.2.0"]
[hiccup "1.0.5"]
[http-kit "2.1.19"]
[im.chit/gyr "0.3.1"]
[im.chit/purnam "0.5.2"]
[javax.servlet/javax.servlet-api "3.1.0"]
[liberator "0.14.0"]
[manifold "0.1.2"]
[mvxcvi/puget "1.0.0"]
[net.kronkltd/clj-gravatar "0.1.0-SNAPSHOT"]
[net.kronkltd/octohipster "0.3.0-SNAPSHOT"
:exclusions [inflections]]
[net.logstash.log4j/jsonevent-layout "1.7"]
[org.bovinegenius/exploding-fish "0.3.4"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.228"]
[org.clojure/tools.logging "0.3.1"]
[org.clojure/tools.reader "0.10.0"]
[org.clojure/data.json "0.2.6"]
[org.jsoup/jsoup "1.8.3"]
[org.slf4j/slf4j-api "1.7.16"]
[cider/cider-nrepl "0.10.2"]
[org.slf4j/slf4j-log4j12 "1.7.16"]
[ring/ring-core "1.4.0"]
[ring-basic-authentication "1.0.5"]
[ring-logger-timbre "0.7.5"]
[slingshot "0.12.2"]
[timbre-logstash "0.2.0"]]
:plugins [[cider/cider-nrepl "0.10.2"]
[codox "0.8.13"]
[lein-annotations "0.1.0"]
[lein-bikeshed "0.2.0"]
[lein-checkall "0.1.1"]
[lein-checkouts "1.1.0"]
[lein-cljsbuild "1.1.2"]
[lein-cloverage "1.0.2"]
[lein-less "1.7.5"]
[lein-midje "3.1.3"]
[lein-shell "0.4.0"]
[org.clojars.strongh/lein-init-script "1.3.1"]]
:bower {:package-file "bower.json", :config-file ".bowerrc"}
:hiera {:ignore-ns #{"jiksnu.ops"
"jiksnu.model"
"jiksnu.factory"
"jiksnu.namespace"
"jiksnu.channels"
"jiksnu.session"
"jiksnu.util"
"jiksnu.mock"
"jiksnu.registry"
"jiksnu.db"
}}
:aliases {"guard" ["shell" "bundle" "exec" "guard"]
"karma" ["shell" "./node_modules/.bin/karma" "start"]
"protractor" ["shell" "./node_modules/.bin/protractor" "protractor.config.js"]
"protractor-start" ["shell" "./node_modules/.bin/webdriver-manager" "start"]
"protractor-update" ["shell" "./node_modules/.bin/webdriver-manager" "update"]
"wscat" ["shell" "./node_modules/.bin/wscat" "-c" "ws://localhost:8080/"]}
:main ciste.runner
:aot [ciste.runner]
:jvm-opts ["-server"
"-Dfile.encoding=UTF-8"
;; "-Dcom.sun.management.jmxremote"
;; "-Dcom.sun.management.jmxremote.ssl=false"
;; "-Dcom.sun.management.jmxremote.authenticate=false"
;; "-Dcom.sun.management.jmxremote.port=43210"
]
:warn-on-reflection false
:repl-options {:init-ns ciste.runner
:host "0.0.0.0"
:port 7888}
:appenders {:jl (make-tools-logging-appender {})}
:cljsbuild {:builds
[{
:id :main
:source-paths ["src-cljs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/resources/public/cljs/jiksnu.js"
:optimizations :simple
:pretty-print true}}
{:id :karma
:source-paths ["src-cljs" "test-cljs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/karma-test.js"
:optimizations :whitespace
;; Fix for $q's use of 'finally'
:language-in :ecmascript5
:pretty-print true}}
{:id :protractor
:source-paths ["specs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/protractor-tests.js"
:optimizations :simple
:pretty-print true}}
{
:id :advanced
:source-paths ["src-cljs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/resources/public/cljs/jiksnu.min.js"
:optimizations :advanced
:pretty-print false}}
]}
:profiles {:dev [:dev-core :user-dev]
:dev-core {:dependencies
[[midje "1.8.3" :exclusions [org.clojure/clojure]]
[clj-factory "0.2.2-SNAPSHOT"]
[org.clojure/tools.nrepl "0.2.12"]
[ring-mock "0.1.5"]
[slamhound "1.5.5"]
[com.palletops/log-config "0.1.4"]]}
:reporting {:dependencies [[helpshift/hydrox "0.1.15"]]}
:e2e {:dependencies [[clj-webdriver "0.7.2" :exclusions [xalan]]
[org.seleniumhq.selenium/selenium-java "2.52.0"]]
:cljsbuild {:builds
{:protractor
{:source-paths ["specs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/protractor-tests.js"
:optimizations :simple
:target :nodejs
:pretty-print true}}}}}
:production {:aot :all
:hooks [leiningen.cljsbuild leiningen.less]
:cljsbuild {:builds
{:advanced
{:source-paths ["src-cljs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/resources/public/cljs/jiksnu.min.js"
:optimizations :advanced
:pretty-print false}}}}}
:test {:resource-paths ["target/resources" "resources" "test-resources"]
:cljsbuild {:builds
{:karma
{:source-paths ["src-cljs" "test-cljs"]
:notify-command ["notify-send"]
:compiler {:output-to "target/karma-test.js"
:optimizations :whitespace
;; Fix for $q's use of 'finally'
:language-in :ecmascript5
:pretty-print true}}}}}}
:less {:source-paths ["less"]
:target-path "target/resources/public/css"}
:filespecs [{:type :path :path "ciste.clj"}]
:lis-opts {:name "jiksnu"
:properties {:ciste.properties "/vagrant/config/default.properties"}
:jvm-opts ["-server"]}
:repositories [["snapshots" {:url "http://artifactory.jiksnu.org/artifactory/libs-snapshot-local/"
:username [:gpg :env/artifactory_username]
:password [:gpg :env/artifactory_password]}]
["releases" {:url "http://artifactory.jiksnu.org/artifactory/libs-releases-local/"
:username [:gpg :env/artifactory_username]
:password [:gpg :env/artifactory_password]}]])