-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.boot
50 lines (41 loc) · 1.29 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
(set-env!
:resource-paths #{"src"}
:source-paths #{"test-resources" "test"}
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.9.293" :scope "provided"]
[adzerk/boot-cljs "2.0.0-SNAPSHOT" :scope "test"]
[crisptrutski/boot-cljs-test "0.3.0" :scope "test"]
[doo "0.1.7" :scope "test"]
[metosin/boot-alt-test "0.3.0" :scope "test"]])
(require
'[adzerk.boot-cljs :refer [cljs]]
'[metosin.boot-alt-test :refer [alt-test]]
'[crisptrutski.boot-cljs-test :refer [test-cljs prep-cljs-tests run-cljs-tests]])
(def +version+ "0.2.2")
(task-options!
pom {:project 'metosin/clj-suomi
:version +version+
:description "Access Finnish code sets"
:url "https://github.com/metosin/clj-suomi"
:scm {:url "https://github.com/metosin/clj-suomi"}
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}})
(ns-unmap *ns* 'test)
(deftask test []
(comp
(alt-test)
(test-cljs)))
(deftask build []
(comp
(pom)
(jar)))
(deftask dev []
(comp
(repl :server true)
(watch)
(test)
(build)
(install)))
(deftask deploy []
(comp
(build)
(push :repo "clojars" :gpg-sign false)))