-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
32 lines (26 loc) · 1.01 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
(def project 'vectorql)
(def version "0.1.0-SNAPSHOT")
(set-env! :resource-paths #{"resources" "src"}
:source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[adzerk/boot-test "RELEASE" :scope "test"]
[adzerk/bootlaces "0.1.13" :scope "test"]])
(task-options!
pom {:project project
:version version
:description "Generate Graphql query object thing using valid Clojure hiccup-like syntax."
:url "https://github.com/skammer/vectorql"
:scm {:url "https://github.com/skammer/vectorql"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}})
(require '[adzerk.boot-test :refer [test]]
'[adzerk.bootlaces :refer :all])
(bootlaces! version)
(deftask build
"Build and install the project locally."
[]
(comp (pom) (jar) (install)))
(deftask release-snapshot
"Release snapshot"
[]
(comp (pom) (jar) (push-snapshot)))