forked from clj-commons/hickory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
51 lines (42 loc) · 2.58 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
40
41
42
43
44
45
46
47
48
49
50
51
(defproject hickory "0.7.1"
:description "HTML as Data"
:url "https://github.com/davidsantiago/hickory"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[org.jsoup/jsoup "1.9.2"]
[viebel/codox-klipse-theme "0.0.1"]
[quoin "0.1.2" :exclusions [org.clojure/clojure]]]
:hooks [leiningen.cljsbuild]
:plugins [[lein-codox "0.10.0"]]
:doo {:build "test"}
:source-paths ["src/clj" "src/cljc" "src/cljs"]
:cljsbuild {:builds {}
:test-commands {"unit-tests" ["lein" "with-profile" "test" "doo" "phantom" "once"]}}
:profiles
{:dev {:source-paths ["src/clj" "src/cljc"]
:dependencies [[lein-doo "0.1.7"]]
:plugins [[lein-cljsbuild "1.1.4"]
[lein-doo "0.1.7" :exclusions [org.clojure/clojure]]]}
:test {:source-paths ["src/cljs" "src/cljc" "test/cljc" "test/cljs"]
:plugins [[lein-doo "0.1.7" :exclusions [org.clojure/clojure]]]
:cljsbuild {:builds {:test {:source-paths ["src/cljs" "src/cljc" "test/cljc" "test/cljs"]
:compiler {:output-to "target/cljs/testable.js"
:main "hickory.doo-runner"}
:optimizations :whitespace
:pretty-print true}}}
}}
:codox {:sources ["src" "target/generated-src"]
:output-path "codox-out"
:src-dir-uri "https://github.com/davidsantiago/hickory/blob/master"
:metadata {:doc/format :markdown}
:language :clojurescript
:themes [:default [:klipse {:klipse/external-libs "https://raw.githubusercontent.com/davidsantiago/hickory/master/src/cljc,https://raw.githubusercontent.com/davidsantiago/hickory/master/src/cljs"
:klipse/require-statement "(ns my.html
(:require [hickory.core :refer [parse as-hiccup as-hickory]]
[hickory.render :refer [hickory-to-html hiccup-to-html]]
[hickory.convert :refer [hiccup-to-hickory]]))
"}]]
:src-linenum-anchor-prefix "L"}
)