forked from clj-commons/hickory
-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
39 lines (38 loc) · 1.77 KB
/
project.clj
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
(defproject hickory "0.6.0"
:description "HTML as Data"
:url "http://github.com/davidsantiago/hickory"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src" "target/generated-src"]
:test-paths ["target/generated-test"]
:dependencies [[org.clojure/clojure "1.5.1"]
[quoin "0.1.0"]
[org.jsoup/jsoup "1.8.3"]]
:plugins [[codox "0.6.4"]]
:profiles {:dev
{:dependencies [[org.clojure/clojurescript "0.0-2227"]]
:plugins [[lein-cljsbuild "1.0.3"]
[com.keminglabs/cljx "0.4.0"]
[com.cemerick/clojurescript.test "0.3.1"]]}}
:hooks [cljx.hooks]
:codox {:sources ["src" "target/generated-src"]
:output-dir "codox-out"
:src-dir-uri "http://github.com/davidsantiago/hickory/blob/master"
:src-linenum-anchor-prefix "L"}
:cljx {:builds [{:source-paths ["src"]
:output-path "target/generated-src"
:rules :clj}
{:source-paths ["src"]
:output-path "target/generated-src"
:rules :cljs}
{:source-paths ["test"]
:output-path "target/generated-test"
:rules :clj}
{:source-paths ["test"]
:output-path "target/generated-test"
:rules :cljs}]}
:cljsbuild {:builds [{:source-paths ["target/generated-src" "target/generated-test"]
:compiler {:output-to "target/cljs/testable.js"}
:optimizations :whitespace
:pretty-print true}]
:test-commands {"unit-tests" ["phantomjs" :runner "target/cljs/testable.js"]}})