-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.boot
56 lines (47 loc) · 1.22 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
55
56
#!/usr/bin/env boot
(def +project+ 'jannis/groom)
(def +version+ "0.1.0-SNAPSHOT")
(set-env!
:resource-paths #{"examples" "src/main"}
:dependencies '[[seancorfield/boot-tools-deps "0.4.3" :scope "test"]])
(require '[boot.git :refer [last-commit]]
'[boot-tools-deps.core :refer [deps]])
(task-options!
pom {:project +project+
:version +version+
:description "React/GraphQL framework for ClojureScript"
:url "https://github.com/jannis/groom"
:scm {:url "https://github.com/jannis/groom"}
:license {"MIT License" "https://github.com/jannis/groom/tree/master/LICENSE"}}
push {:repo "deploy-clojars"
:ensure-branch "master"
:ensure-clean true
:ensure-tag (last-commit)
:ensure-version +version+})
(deftask build-starwars-example
[]
(with-pre-wrap fs
(dosh "mach" "starwars-example")
fs))
(deftask starwars-example
[]
(comp (deps)
(build-starwars-example)))
(deftask install-local
[]
(comp (deps)
(pom)
(jar)
(install)))
(deftask push-snapshot
[]
(comp (deps)
(pom)
(jar)
(push-snapshot)))
(deftask push-release
[]
(comp (deps)
(pom)
(jar)
(push-release)))