-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.boot
46 lines (42 loc) · 1.39 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
;; Project configuration for Real Time Streaming Protocol library.
(set-env!
:resource-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.7.0"]
[org.clojure/tools.logging "0.3.1"]
[gloss "0.2.5"]
[aleph "0.4.0"]
;; Dev dependencies
[it.frbracch/boot-marginalia "LATEST" :scope "test"]
[adzerk/boot-test "LATEST" :scope "test"]])
(task-options!
pom
{:project 'multimedia.streaming/rtsp
:version "0.1.0-SNAPSHOT"
:description "An asynchronous client and server for the Real Time
Streaming Protocol (RTSP) as described by RFC 2326."
:url "http://nogden.github.io/rtsp/"
:scm {:url "https://github.com/nogden/rtsp"}
:license {"Eclipse Public License"
"https://www.eclipse.org/legal/epl-v10.html"}}
repl
{:init-ns 'multimedia.streaming.rtsp.client}
push
{:repo "clojars-classic"
:ensure-snapshot true})
(deftask build
"Build the project jar file"
[]
(comp (pom) (jar)))
(deftask tests
"Run the automated tests"
[]
(require 'adzerk.boot-test)
(let [run-tests (resolve 'adzerk.boot-test/test)]
(set-env! :source-paths #{"test"})
(run-tests)))
(deftask doc
"Generate the project documentation"
[]
(require 'it.frbracch.boot-marginalia)
(let [marginalia (resolve 'it.frbracch.boot-marginalia/marginalia)]
(marginalia :file "rtsp.html")))