-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.boot
More file actions
56 lines (46 loc) · 1.85 KB
/
build.boot
File metadata and controls
56 lines (46 loc) · 1.85 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
(set-env!
:resource-paths #{"src" "resources"}
:dependencies '[[boot/core "2.0.0-rc14" :scope "provided"]
[org.clojure/clojure "1.9.0-alpha14" :scope "provided"]
[org.clojure/clojurescript "1.9.229"]
[org.clojure/tools.namespace "0.2.10"]
[org.pegdown/pegdown "1.4.2"]
[leinjacker "0.4.2"]
[hiccup "1.0.5"]
[funcool/codeina "0.5.0" :scope "test"]
[funcool/bootutils "0.1.0" :scope "test"]])
(require '[funcool.boot-codeina :refer :all]
'[funcool.bootutils :refer :all])
(def +version+
"0.2.0-SNAPSHOT")
(def +description+
"A tool for generating API documentation from Clojure for both Clojure
and ClojureScript.")
(task-options!
pom {:project 'codamic/boot-codeina
:version +version+
:description +description+
:url "https://github.com/Codamic/boot-codeina"
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}
:scm {:url "https://github.com/Codamic/boot-codeina"}}
jar {:manifest {"Description" +description+
"Url" "http://github.com/Codamic/boot-codeina"}}
apidoc {:version +version+
:title "Boot-Codeina"
:sources #{"src"}
:src-uri "https://github.com/Codamic/boot-codeina/tree/master/"
:src-uri-prefix "#L"
:description +description+}
push {:repo "clojars"} )
(deftask build
"Build & install the library"
[]
(comp (pom) (jar) (install) (target)))
(deftask publish-snapshot
"Build and publish the jar to clojars"
[]
(comp (pom) (jar) (push-snapshot)))
(deftask publish
"Build and publish the jar to clojars"
[]
(comp (pom) (jar) (push)))