-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.clj
99 lines (88 loc) · 5.54 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
(defproject untangled-template "0.1.0-SNAPSHOT"
:description "A clonable & upstream untangled template"
:license {:name "MIT" :url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.9.0-alpha14"]
[org.clojure/clojurescript "1.9.494"]
[commons-io "2.5"]
[navis/untangled-client "0.7.0"]
[untangled/om-css "1.0.0"]
[org.omcljs/om "1.0.0-alpha48"]
[navis/untangled-spec "0.3.9" :scope "test" :exclusions [io.aviso/pretty]]
[lein-doo "0.1.7" :scope "test"]
[org.clojure/core.async "0.2.395"]
[http-kit "2.2.0"]
[com.taoensso/timbre "4.7.4"]
[navis/untangled-server "0.7.0"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-doo "0.1.7"]
[com.jakemccrary/lein-test-refresh "0.17.0"]]
:doo {:build "automated-tests"
:paths {:karma "node_modules/karma/bin/karma"}}
:uberjar-name "untangled_template.jar"
:test-refresh {:report untangled-spec.reporters.terminal/untangled-report
:with-repl true
:changes-only true}
:source-paths ["src/server"]
:test-paths ["specs" "specs/server" "specs/config"]
:clean-targets ^{:protect false} ["target" "resources/public/js" "resources/private"]
:figwheel {:css-dirs ["resources/public/css"]}
:cljsbuild {:builds [{:id "production"
:source-paths ["src/client"]
:jar true
:compiler {:asset-path "js/prod"
:main untangled-template.main
:optimizations :simple
:output-dir "resources/public/js/prod"
:output-to "resources/public/js/untangled_template.min.js"}}
{:id "dev"
:figwheel true
:source-paths ["src/client" "dev/client"]
:compiler {:asset-path "js/dev"
:external-config
{:devtools/config
;;github.com/binaryage/cljs-devtools/blob/master/docs/configuration.md
{:print-config-overrides true}}
:main cljs.user
:optimizations :none
:output-dir "resources/public/js/dev"
:output-to "resources/public/js/untangled_template.js"
:preloads [devtools.preload]
:source-map-timestamp true}}
{:id "test"
:source-paths ["specs/client" "src/client"]
:figwheel true
:compiler {:asset-path "js/specs"
:main untangled-template.spec-main
:optimizations :none
:output-dir "resources/public/js/specs"
:output-to "resources/public/js/specs.js"
:preloads [devtools.preload]}}
{:id "automated-tests"
:source-paths ["specs/client" "src/client"]
:compiler {:asset-path "js/ci"
:main untangled-template.all-tests
:optimizations :none
:output-dir "resources/private/js/ci"
:output-to "resources/private/js/unit-tests.js"}}
{:id "cards"
:figwheel {:devcards true}
:source-paths ["src/client" "src/cards"]
:compiler {:asset-path "js/cards"
:main untangled-template.cards
:optimizations :none
:output-dir "resources/public/js/cards"
:output-to "resources/public/js/cards.js"
:preloads [devtools.preload]
:source-map-timestamp true}}]}
:profiles {:uberjar {:main untangled-template.core
:aot :all
:prep-tasks ["compile"
["cljsbuild" "once" "production"]]}
:dev {:source-paths ["dev/client" "dev/server" "src/client" "src/server"]
:dependencies [[binaryage/devtools "0.9.1"]
[org.clojure/tools.namespace "0.2.11"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.9" :exclusions [org.clojure/tools.reader]]
[devcards "0.2.2" :exclusions [org.omcljs/om]]]
:repl-options {:init-ns user
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}})