-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.boot
54 lines (45 loc) · 1.86 KB
/
build.boot
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
(def +version+ "0.1.23")
(set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.10.1"]
[org.clojure/tools.logging "0.4.1"]
[com.hazelcast/hazelcast "4.0.2"]
[org.hface/hface-client "0.1.8"]
[org.clojure/data.json "1.0.0"]
[com.cognitect/transit-clj "0.8.275"]
[clj-wallhack "1.0.1"]
;; boot clj
[boot/core "2.7.1" :scope "provided"]
[adzerk/boot-logservice "1.2.0" :scope "test"]
[adzerk/bootlaces "0.2.0" :scope "test"]])
(require '[adzerk.bootlaces :refer :all]
'[clojure.tools.logging :as log]
'[adzerk.boot-logservice :as log-service])
(def log4b
[:configuration
[:appender {:name "STDOUT" :class "ch.qos.logback.core.ConsoleAppender"}
[:encoder [:pattern "%-5level %logger{36} - %msg%n"]]]
[:root {:level "TRACE"}
[:appender-ref {:ref "STDOUT"}]]])
(deftask dev-env []
;; (import '[chazel.jedis Jedi])
(require '[chazel.core :refer :all]
'[chazel.serializer :refer [transit-in transit-out]])
(alter-var-root #'log/*logger-factory*
(constantly (log-service/make-factory log4b)))
identity)
(deftask dev []
(set-env! :source-paths #{"src" "dev"})
(comp (aot :namespace '#{chazel.jedis})
(dev-env)
(repl)))
(bootlaces! +version+)
(task-options!
push {:ensure-branch nil}
pom {:project 'tolitius/chazel
:version +version+
:description "hazelcast bells and whistles under the clojure belt"
:url "https://github.com/tolitius/chazel"
:scm {:url "https://github.com/tolitius/chazel"}
:license {"Eclipse Public License"
"http:https://www.eclipse.org/legal/epl-v10.html"}})