-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproject.clj
96 lines (88 loc) · 4.17 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
88
89
90
91
92
93
94
95
96
(defproject net.unit8.job-streamer/job-streamer-console (clojure.string/trim-newline (slurp "VERSION"))
:source-paths ["src/clj"]
:dependencies [[org.clojure/clojure "1.8.0"]
[hiccup "1.0.5"]
[garden "1.3.2" :exclusions [org.clojure/clojure]]
[compojure "1.5.1"]
[environ "1.0.3"]
[org.clojure/tools.logging "0.3.1"]
[com.stuartsierra/component "0.3.1"]
[duct "0.7.0"]
[meta-merge "1.0.0"]
[org.clojure/clojurescript "1.7.189"]
[org.clojure/core.async "0.2.374"]
[sablono "0.7.2"]
[prismatic/om-tools "0.4.0"]
[bouncer "1.0.0"]
[secretary "1.2.3"]
[org.omcljs/om "1.0.0-alpha36"]
[fence "0.2.0"]
[cljsjs/dropzone "4.3.0-0"]
[cljsjs/jquery "2.2.4-0"]
[ring "1.4.0"]
[ring/ring-defaults "0.2.0"]
[ring-jetty-component "0.3.1"]]
:plugins [[lein-cljsbuild "1.1.2"]
[lein-environ "1.0.3"]]
:main ^:skip-aot job-streamer.console.main
:target-path "target/%s/"
:resource-paths ["resources" "target/cljsbuild"]
:prep-tasks [["javac"] ["cljsbuild" "once"] ["compile"]]
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:compiler {:output-to "target/cljsbuild/job-streamer-console/public/js/job-streamer.js"
:libs ["resources/closure-js/libs"]
:pretty-print true
:optimizations :simple}}
{:id "dev-flowchart"
:source-paths ["src/cljs-flowchart"]
:compiler {:output-to "target/cljsbuild/job-streamer-console/public/js/flowchart.js"
:libs ["resources/closure-js/libs"]
:pretty-print true
:optimizations :simple}}
{:id "production"
:source-paths ["src/cljs"]
:compiler {:output-to "resources/job-streamer-console/public/js/job-streamer.min.js"
:pretty-print false
:optimizations :advanced
:libs ["resources/clojure-js/libs"]}}
{:id "production-flowchart"
:source-paths ["src/cljs-flowchart"]
:compiler {:output-to "resources/job-streamer-console/public/js/flowchart.min.js"
:pretty-print false
:optimizations :advanced
:externs ["resources/job-streamer-console/public/js/jsr-352.js"]
:closure-warnings {:externs-validation :off
:non-standard-jsdoc :off}}}]}
:aliases {"run-task" ["with-profile" "+repl" "run" "-m"]
"setup" ["run-task" "dev.tasks/setup"]}
:pom-plugins [[org.apache.maven.plugins/maven-assembly-plugin "2.5.5"
{:configuration [:descriptors [:descriptor "src/assembly/dist.xml"]]}]]
:profiles
{:dev [:project/dev :profiles/dev]
:test [:project/test :profiles/test]
:repl {:resource-paths ^:replace ["resources" "target/figwheel"]
:prep-task ^:replace [["javac"] ["compile"]]}
:uberjar {:aot :all}
:profiles/dev {}
:profiles/test {}
:project/dev {:dependencies [[duct/generate "0.7.0"]
[reloaded.repl "0.2.2"]
[org.clojure/tools.namespace "0.2.11"]
[org.clojure/tools.nrepl "0.2.12"]
[eftest "0.1.1"]
[com.gearswithingears/shrubbery "0.3.1"]
[kerodon "0.7.0"]
[binaryage/devtools "0.6.1"]
[com.cemerick/piggieback "0.2.1"]
[duct/figwheel-component "0.3.2"]
[figwheel "0.5.0-6"]]
:source-paths ["dev"]
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]
:timeout 180000}
:env {:dev true
:port "3000"}}
:project/test {:prep-tasks ^:replace [["javac"] ["compile"]]}})