-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathproject.clj
182 lines (163 loc) · 7.28 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
181
182
(defproject yetibot/core "_"
:description "Core yetibot utilities, extracted for shared use among yetibot
and its various plugins"
:url "https://github.com/yetibot/yetibot.core"
:scm {:name "git" :url "https://github.com/yetibot/yetibot.core"}
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:deploy-repositories [["releases" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_password
:sign-releases false}]]
:repl-options {:init-ns yetibot.core.repl
:timeout 120000
:prompt (fn [ns] (str "\u001B[35m[\u001B[34m" ns
"\u001B[35m] \u001B[37mλ:\u001B[m "))
:welcome
(do
(println)
(println
(str
"\u001B[37m"
" Welcome to the Yetibot dev REPL!"
\newline
" Use \u001B[35m(\u001B[34mhelp\u001B[35m) "
"\u001B[37mto see available commands."
\newline
\newline
"\u001B[35m λλλ"
"\u001B[m"))
(println))}
; :aot [yetibot.core.init]
:resource-paths ["resources"]
:main yetibot.core.init
:plugins [[lein-environ "1.2.0"]
[lein-inferv "20201028.232949.b461fd0"]
[lein-pprint "1.3.2"]]
:profiles {:profiles/dev {}
:dev [:profiles/dev
{:plugins [[lein-midje "3.2.1"]
[lambdaisland/kaocha-midje "0.0-5"
:exclusions [midje/midje]]
[lein-cloverage "1.1.2"]
[lein-kibit "0.1.8"]]
:dependencies [[midje "1.9.9"]
[nubank/matcher-combinators "1.2.4"]]}]
:midje
{:injections [(require 'yetibot.core.logging)
(yetibot.core.logging/start)]}
:test
{:resource-paths ["test/resources"]
:injections [(require 'yetibot.core.logging)
(yetibot.core.logging/start)]
:env {:yb-adapters-freenode-type "irc"
:yb-adapters-freenode-host "irc.freenode.net"
:yb-adapters-freenode-port "6667"
:yb-adapters-freenode-username "yetibot-test"}}}
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/core.async "0.4.500"]
[org.clojure/data.json "0.2.6"]
[org.clojure/tools.cli "0.4.2"]
[org.clojure/tools.trace "0.7.10"]
[org.clojure/tools.namespace "0.3.1"]
[org.clojure/java.classpath "0.3.0"]
[org.clojure/core.cache "0.8.2"]
[org.clojure/core.memoize "0.8.2"]
[org.clojure/data.xml "0.2.0-alpha6"]
[org.clojure/data.zip "0.1.3"]
[org.clojure/java.jdbc "0.7.10"]
[org.postgresql/postgresql "42.2.8"]
[clojure-interop/java.nio "1.0.5"]
; dynamic module loading
[clj-commons/pomegranate "1.2.23"]
; DurationFormatUtils for uptime
[org.apache.commons/commons-lang3 "3.9"]
; logging
[com.taoensso/timbre "4.10.0"]
; parsing
[instaparse "1.4.10"]
; parser visualization - disable unless needed
; [rhizome "0.1.9"]
;; natural language parsing
[wit/duckling "0.4.24"]
;; http
[clj-http "3.10.0"]
;; sockets
[http.async.client "1.3.1"]
;; web sockets
[java-http-clj "0.4.1"]
;; github
[irresponsible/tentacles "0.6.6"]
; email
[com.draines/postal "2.0.3"]
[io.forward/clojure-mail "1.0.8" :exclusions [medley]]
[medley "1.2.0"]
; chat protocols
[irclj "0.5.0-alpha4"]
;; use this fork which uses javax.websockets for compatability with Yetibot
;; gniazdo 1.2.2 needed for discljord
[stylefruits/gniazdo "1.2.2"]
[slack-rtm "0.1.7" :exclusions [[stylefruits/gniazdo]]]
[org.julienxx/clj-slack "0.6.3"]
[mattermost-clj "4.0.3"]
[com.github.discljord/discljord "1.3.1"]
; javascript evaluation
[evaljs "0.1.2"]
; ssh
[clj-commons/clj-ssh "0.5.15"]
; wordnik dictionary
[clj-wordnik "0.1.0-alpha1"]
; json parsing / schema
[com.bigml/closchema "0.1.8"]
[json-path "2.1.0"]
; utils
[funcool/cuerdas "2.2.0"]
[clj-stacktrace "0.2.8"]
[clj-fuzzy "0.4.1"]
[robert/hooke "1.3.0"]
[clj-time "0.15.2"] ; includes joda-time
[throttler "1.0.0"]
[expound "0.7.2"]
; scheduling used for mail. could be replaced by
; hara.io.scheduler
[overtone/at-at "1.2.0"]
; scheduling to support `cron` command
[zcaudate/hara.io.scheduler "2.8.7"]
[inflections "0.13.2"]
[environ "1.1.0"]
[dec "1.0.1"]
; retry
[robert/bruce "0.8.0"]
[lambdaisland/uri "1.15.125"]
;; [io.aviso/pretty "0.1.34"] ; pretty stacktraces
;monitoring
[metrics-clojure "2.10.0"]
[metrics-clojure-riemann "2.10.0"]
; web/ring
[ring/ring-json "0.5.0"]
[ring/ring-core "1.7.1"]
[ring-logger-timbre "0.7.6"]
[ring.middleware.conditional "0.2.0"]
[ring-cors "0.1.13"]
[nrepl "1.0.0"]
[http-kit "2.3.0"]
[ring/ring-defaults "0.3.2"]
[ring/ring-session-timeout "0.2.0"]
[ring-middleware-format "0.7.4"
:exclusions [org.flatland/ordered
clj-stacktrace]]
;; use newer flatland with support for java 11
[org.flatland/ordered "1.5.7"]
; web
[com.walmartlabs/lacinia "0.35.0"] ;; graphql
[selmer "1.12.17"]
[compojure "1.6.1"]
[prone "2019-07-08"]
[hiccup "1.0.5"]
[hickory "0.7.1"] ; parse html into hiccup
]
:aliases {"test" ["with-profile" "+test" "midje"]}
;; release is purely derived from git sha and timestamp 😑,
;; so there's no need to commit, bump, or tag anything
:release-tasks [["vcs" "assert-committed"]
["deploy"]])