-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
87 lines (75 loc) · 3.6 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
(defproject ghoul-reader "0.2.0"
:description "Offline RSS Reader. Clojurescript + Om"
:url "http://alotor.github.io/ghoul-reader"
:license {:name "GNU Affero General Public License"
:url "http://www.gnu.org/licenses/agpl-3.0.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.107"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[org.clojure/core.match "0.3.0-alpha4"]
[org.omcljs/om "0.9.0"]
[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]
[com.andrewmcveigh/cljs-time "0.3.11"]
[funcool/cuerdas "0.6.0"]
[funcool/tubax "0.1.2"]
[funcool/hodgepodge "0.1.4"]]
:plugins [[lein-cljsbuild "1.0.6"]
[lein-figwheel "0.3.7"]
[lein-asciidoctor "0.1.14"]
[lein-sassy "1.0.7"]]
:sass {:src "resources/public/style"
:dst "resources/public/css"}
:source-paths ["src/common" "src/app" "src/worker" "src/test"]
:clean-targets ^{:protect false} ["resources/public/js/" "target"]
:figwheel {:css-dirs ["resources/public/css"]
:server-port 3000
:nrepl-port 7888}
:asciidoctor {:sources "doc/*.ad"
:to-dir "dist/doc"
:extract-css true
:source-highlight true
:toc :left}
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src/app" "src/common"]
:figwheel {:on-jsload "ghoul.app.main/reload!"}
:compiler {:main ghoul.app.main
:asset-path "js/out"
:output-to "resources/public/js/ghoul.js"
:output-dir "resources/public/js/out"
:source-map-timestamp true }}
{:id "prod"
:source-paths ["src/app" "src/common"]
:compiler {:output-to "resources/public/js/ghoul.js"
:main ghoul.app.main
:optimizations :advanced
:pretty-print false}}
{:id "worker-dev"
:source-paths ["src/worker" "src/common"]
:compiler {:output-to "resources/public/js/ghoul-worker.js"
:main ghoul.worker-feed-updater
;:asset-path "js/out"
;:output-dir "resources/public/js/worker"
:optimizations :whitespace
:pretty-print true
:source-map-timestamp true }}
{:id "worker-prod"
:source-paths ["src/worker" "src/common"]
:compiler {:output-to "resources/public/js/ghoul-worker.js"
:main ghoul.worker.feed-updater
:optimizations :advanced
:pretty-print false}}
{:id "test"
:source-paths ["src/common" "src/app" "src/worker" "src/test"]
:notify-command ["node" "target/tests.js"]
:compiler {:output-to "target/tests.js"
:output-dir "target"
:source-map true
:static-fns true
:cache-analysis false
:main ghoul.test-runner
:optimizations :none
:target :nodejs
:pretty-print true
:warnings {:single-segment-namespace false}}}
]})