-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.boot
33 lines (25 loc) · 1.1 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
(set-env!
:resource-paths #{"src" "tst"}
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "1.1.2" :scope "test"]])
(ns-unmap 'boot.user 'test)
(require
'[adzerk.boot-test :refer [test]]
'[adzerk.bootlaces :refer :all])
;;; configs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(def +version+ "3.0.0")
(bootlaces! +version+)
;;; tasks ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(deftask develop []
(comp (watch) (speak) (build-jar)))
(deftask deploy []
(comp (speak) (build-jar) (push-release)))
(task-options!
pom {:project 'jumblerg/ring-cors
:version +version+
:description "Simple Ring middleware for easy cross-origin resource sharing (CORS)."
:url "https://github.com/jumblerg/ring-cors"
:scm {:url "https://github.com/jumblerg/ring-cors"}
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}}
test {:namespaces ['jumblerg.middleware.cors-test]})