-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.boot
35 lines (31 loc) · 1.41 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
(task-options!
pom {:project 'us.2da/hugsql-adapter-clickhouse-native-jdbc
:description "Clickhouse hative JDBC adapter for HugSQL."
:developers {"Anthony Shull" "[email protected]"}
:license {"Apache License, Version 2.0" "http://www.apache.org/licenses/LICENSE-2.0.html"}
:scm {:url "http://github.com/2DA-Analytics/hugsql-adapter-clickhouse-native-jdbc"}
:url "http://github.com/2DA-Analytics/hugsql-adapter-clickhouse-native-jdbc"
:version "1.0.1"})
(set-env!
:source-paths #{"src" "test"}
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.10.1"]
[com.github.housepower/clickhouse-native-jdbc "1.7-stable"]
[com.layerware/hugsql "0.4.9"]
[hikari-cp "2.7.1" :scope "test"]
[metosin/bat-test "0.4.3" :scope "test"]
[tolitius/boot-check "0.1.12" :scope "test"]])
(require '[metosin.bat-test :refer [bat-test]])
(require '[tolitius.boot-check :refer :all])
(task-options!
with-eastwood {:options {:exclude-linters [:unused-ret-vals]}})
(deftask deploy
"Build and deploy the project to Clojars."
[]
(comp (pom)
(jar)
(install)
(push :repo-map {:url "https://clojars.org/repo/"
:username (System/getenv "CLOJARS_USERNAME")
:password (System/getenv "CLOJARS_PASSWORD")
:update :always})))