-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.boot
More file actions
35 lines (30 loc) · 1.06 KB
/
build.boot
File metadata and controls
35 lines (30 loc) · 1.06 KB
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
(set-env!
:resource-paths #{"src"}
:source-paths #{"test"}
:dependencies '[[adzerk/bootlaces "0.1.13" :scope "test"]
[org.clojure/clojure "1.8.0" :scope "provided"]
[com.datomic/datomic-free "0.9.5206" :scope "provided"]
[adzerk/boot-test "1.1.0" :scope "test"]])
(require
'[adzerk.bootlaces :refer :all]
'[clojure.java.io :as io]
'[boot.pod :as pod]
'[adzerk.boot-test :refer [test]])
(def +version+ "0.2.0-SNAPSHOT")
(task-options!
pom {:project 'adstage/pluck-api
:version +version+
:description "An extensible wrapper around Datomic's pull API."
:url "https://github.com/AdStage/pluck-api"
:scm {:url "https://github.com/AdStage/pluck-api"}
:license {"The MIT License (MIT)"
"https://opensource.org/licenses/MIT"}}
push {:repo "deploy-clojars"})
(deftask build []
(comp
(pom)
(jar)
(install)))
(deftask run-tests []
(comp
(test :namespaces #{'adstage.pluck-api-test})))