-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.clj
More file actions
141 lines (119 loc) · 5.53 KB
/
Copy pathproject.clj
File metadata and controls
141 lines (119 loc) · 5.53 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
(defproject clj_forms "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
; :mirrors {"central" {:name "Ibiblio"
; :url "http://localhost:8080/repository/internal"
; :checksum :ignore}
; #"clojars" {:name "Internal nexus"
; :url "http://localhost:8080/repository/internal"
; :repo-manager true
; :checksum :ignore}}
:dependencies [[org.clojure/clojure "1.8.0"]
[ring-server "0.4.0"]
[reagent "0.5.1"
:exclusions [org.clojure/tools.reader]]
[reagent-forms "0.5.23"]
[reagent-utils "0.1.8"]
[ring "1.4.0"]
[ring/ring-defaults "0.2.0"]
[ring/ring-json "0.4.0"]
[compojure "1.5.0"]
[hiccup "1.0.5"]
[yogthos/config "0.8"]
[org.clojure/clojurescript "1.8.51"
:scope "provided"]
[secretary "1.2.3"]
[cljs-ajax "0.5.8"]
[org.clojure/java.jdbc "0.6.1"]
[org.postgresql/postgresql "9.4-1201-jdbc41"]
[venantius/accountant "0.1.7"
:exclusions [org.clojure/tools.reader]]]
:plugins [[lein-environ "1.0.2"]
[lein-cljsbuild "1.1.1" :exclusions [org.clojure/clojure]]
[lein-ring "0.8.13" :exclusions [org.clojure/clojure]]
[lein-asset-minifier "0.2.7"
:exclusions [org.clojure/clojure]]]
:ring {:handler clj-forms.handler/app
:uberwar-name "beer.war"}
:min-lein-version "2.5.0"
:uberjar-name "beer.jar"
:main clj-forms.server
:clean-targets ^{:protect false}
[:target-path
[:cljsbuild :builds :app :compiler :output-dir]
[:cljsbuild :builds :app :compiler :output-to]]
:source-paths ["src/clj" "src/cljc"]
:resource-paths ["resources" "target/cljsbuild"]
:minify-assets
{:assets
{"resources/public/css/site.min.css" "resources/public/css/site.css"}}
:cljsbuild
{:builds {:min
{:source-paths ["src/cljs" "src/cljc" "env/prod/cljs"]
:compiler
{:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/uberjar"
:optimizations :advanced
:pretty-print false
:externs ["externs.js"]}}
:app
{:source-paths ["src/cljs" "src/cljc" "env/dev/cljs"]
:compiler
{:main "clj_forms.dev"
:asset-path "/js/out"
:output-to "target/cljsbuild/public/js/app.js"
:output-dir "target/cljsbuild/public/js/out"
:source-map true
:optimizations :none
:pretty-print true}}
}
}
:figwheel
{:http-server-root "public"
:server-port 3449
:nrepl-port 7002
:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl"
]
:css-dirs ["resources/public/css"]
:ring-handler clj-forms.handler/app}
:profiles {:dev {:repl-options {:init-ns clj-forms.repl}
:dependencies [[ring/ring-mock "0.3.0"]
[ring/ring-devel "1.4.0"]
[prone "1.1.1"]
[lein-figwheel "0.5.3-1"
:exclusions [org.clojure/core.memoize
ring/ring-core
org.clojure/clojure
org.ow2.asm/asm-all
org.clojure/data.priority-map
org.clojure/tools.reader
org.clojure/clojurescript
org.clojure/core.async
org.clojure/tools.analyzer.jvm]]
[org.clojure/tools.nrepl "0.2.12"]
[com.cemerick/piggieback "0.2.1"]
[pjstadig/humane-test-output "0.8.0"]
]
:source-paths ["env/dev/clj"]
:plugins [[lein-figwheel "0.5.3-1"
:exclusions [org.clojure/core.memoize
ring/ring-core
org.clojure/clojure
org.ow2.asm/asm-all
org.clojure/data.priority-map
org.clojure/tools.reader
org.clojure/clojurescript
org.clojure/core.async
org.clojure/tools.analyzer.jvm]]
]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:env {:dev true}}
:uberjar {:hooks [minify-assets.plugin/hooks]
:source-paths ["env/prod/clj"]
:prep-tasks ["compile" ["cljsbuild" "once" "min"]]
:env {:production true}
:aot :all
:omit-source true}})