-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.boot
39 lines (33 loc) · 980 Bytes
/
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
(set-env!
:source-paths #{"src"}
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.7.0"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[clj-aws-s3 "0.3.10"]
[pandect "0.5.4"]])
(require '[adzerk.bootlaces :refer :all])
(def +version+ "0.1.3-SNAPSHOT")
(bootlaces! +version+)
(task-options!
push {
:ensure-clean false
}
pom {:project 'hashobject/boot-s3
:version +version+
:description "Boot task for syncing local directory with AWS S3 bucket"
:url "https://github.com/hashobject/boot-s3"
:scm {:url "https://github.com/hashobject/boot-s3"}
:license {"name" "Eclipse Public License"
"url" "http://www.eclipse.org/legal/epl-v10.html"}})
(deftask release-snapshot
"Release snapshot"
[]
(comp (build-jar) (push-snapshot)))
(deftask dev
"Dev process"
[]
(comp
(watch)
(pom)
(jar)
(install)))