-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
126 lines (111 loc) · 6.88 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
(defproject untangled/app "0.0.3"
:description "A sample app"
:url ""
:license {:name "MIT"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[com.datomic/datomic-free "0.9.5206" :exclusions [joda-time]]
[com.taoensso/timbre "4.3.1"]
[commons-codec "1.10"]
[lein-doo "0.1.6" :scope "test"]
[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51"]
[org.omcljs/om "1.0.0-alpha31" :exclusions [cljsjs/react]]
[navis/untangled-client "0.4.7-SNAPSHOT" :exclusions [cljsjs/react org.omcljs/om]]
[navis/untangled-server "0.4.5"]
[navis/untangled-datomic "0.4.4" :exclusions [com.datomic/datomic-free org.clojure/tools.cli]]
[navis/untangled-spec "0.3.5" :scope "test" :exclusions [cljsjs/react-with-addons]]]
:plugins [[lein-cljsbuild "1.1.2"]
[lein-doo "0.1.6" :exclusions [org.clojure/tools.reader]]
[navis/untangled-lein-i18n "0.1.2" :exclusions [org.apache.maven.wagon/wagon-provider-api org.codehaus.plexus/plexus-utils org.clojure/tools.cli]]
[lein-environ "1.0.0"]
[com.jakemccrary/lein-test-refresh "0.14.0"]]
:test-refresh {:report untangled-spec.reporters.terminal/untangled-report
:with-repl true}
:source-paths ["src/shared" "src/server"]
:test-paths ["specs/shared" "specs/server" "specs"]
:uberjar-name "app.jar"
:jvm-opts ["-server" "-Xmx1024m" "-Xms512m" "-XX:-OmitStackTraceInFastThrow"]
:clean-targets ^{:protect false} ["resources/public/js/specs" "resources/public/js/compiled" "target" "resources/private/js"]
:doo {:build "automated-tests"
:paths {:karma "node_modules/karma/bin/karma"}}
:cljsbuild {:builds
[
{:id "dev"
:source-paths ["src/client" "src/shared" "dev/client"]
:figwheel true
:compiler {:main cljs.user
:asset-path "js/compiled/dev"
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/dev"
:optimizations :none
:parallel-build false
:verbose false
:recompile-dependents true
:source-map-timestamp true}}
{:id "cards"
:source-paths ["src/cards" "src/client" "src/shared"]
:figwheel {:devcards true}
:compiler {:main app-cards.cards-ui
:asset-path "js/compiled/cards"
:output-to "resources/public/js/compiled/cards.js"
:output-dir "resources/public/js/compiled/cards"
:parallel-build true
:optimizations :none
:recompile-dependents true
:source-map-timestamp true}}
{:id "test"
:source-paths ["specs/client" "specs/shared" "src/client" "src/shared"]
:figwheel true
:compiler {:main app.suite
:output-to "resources/public/js/specs/specs.js"
:output-dir "resources/public/js/compiled/specs"
:asset-path "js/compiled/specs"
:parallel-build true
:recompile-dependents true
:optimizations :none}}
{:id "automated-tests"
:source-paths ["specs/client" "specs/shared" "src/client" "src/shared"]
:compiler {:output-to "resources/private/js/unit-tests.js"
:main app.all-tests
:asset-path "js"
:output-dir "resources/private/js"
:optimizations :none
}}
{:id "production"
:source-paths ["src/client" "src/shared"]
:compiler {:main app.main
:asset-path "js/compiled/prod"
:output-dir "resources/public/js/compiled/prod"
:optimizations :advanced
:modules {:en-US {:output-to "resources/public/js/en-US.js", :entries #{"app.i18n.en-US"}},
:es-MX {:output-to "resources/public/js/es-MX.js", :entries #{"app.i18n.es-MX"}},
:main {:output-to "resources/public/js/app.js", :entries #{"app.main"}}}
}}
{:id "i18n"
:source-paths ["src/client" "src/shared"]
:compiler {:main app.main
:output-to "i18n/app.js"
:output-dir "i18n/out"
:optimizations :whitespace}}]}
:figwheel {:css-dirs ["resources/public/css"]
:open-file-command "/Users/tonykay/projects/team/scripts/figwheel-intellij.sh"}
:untangled-i18n {:default-locale "en-US"
:translation-namespace "app.i18n"
:source-folder "src/client"
:target-build "i18n"}
:profiles {:uberjar {:prep-tasks ["compile"
["cljsbuild" "once" "production"]]
:omit-source false
:main app.core
:env {:production true}
:aot :all}
:dev {:dependencies [[binaryage/devtools "0.5.2" :exclusions [environ]]
[figwheel-sidecar "0.5.3-1" :exclusions [ring/ring-core joda-time org.clojure/tools.reader]]
[com.cemerick/piggieback "0.2.1"]
[org.clojure/tools.nrepl "0.2.12"]
[devcards "0.2.1-6" :exclusions [org.omcljs/om]]
[ring/ring-mock "0.2.0"]]
:source-paths ["dev/server" "src/server" "src/shared" "specs/shared" "specs/server"]
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:env {:dev true}}})