20
20
[lein-resource " 0.3.1" ]
21
21
[lein-httpd " 1.0.0" ]
22
22
[lein-shell " 0.3.0" ]
23
- [fsrun " 0.1.2" ]
24
- [com.cemerick/austin " 0.1.4-SNAPSHOT" ]]
23
+ [fsrun " 0.1.2" ]]
25
24
:source-paths [" src" ]
26
25
:target-path " target/"
27
26
:uberjar-exclusions [#".*\. cljs" ]
38
37
; ; From Om jar
39
38
:preamble [" react/react.min.js" ]
40
39
:externs [" react/externs/react.js" ]}}}}
41
- :ring {:handler dacom.server/app}
42
- :profiles {:dev {:source-paths [" utils/src" ]
40
+ :ring {:init dacom.server/init-conn
41
+ :handler dacom.server/app}
42
+ :profiles {:dev {:plugins [[com.cemerick/austin " 0.1.4-SNAPSHOT" ]]
43
+ :source-paths [" utils/src" ]
43
44
:repl-options {:init-ns dacom.repl}
44
45
:resource {:resource-paths [" web-resources/pages" ]
45
46
:target-path " static"
49
50
{:body " goog.require('dacom.client')" }
50
51
{:body " goog.require('dacom.repl')" }]}}}
51
52
:db {:main dacom.db}
52
- :prod {:target-path " dist/server/"
53
+ :prod {:main dacom.server
54
+ :target-path " dist/server/"
53
55
:resource {:resource-paths [" web-resources/pages" ]
54
56
:target-path " dist/static"
55
- :extra-values {:scripts [{:src " js/main.js" }]}}}}
57
+ :extra-values {:scripts [{:src " js/main.js" }]}}}
58
+ :uberjar {:omit-source true
59
+ :aot :all }}
56
60
:aliases {" bower" [" shell" " bower" " install" ]
57
61
" less-debug" [" shell" " lessc" " web-resources/stylesheets/style.less" " static/css/style.css"
58
62
" --include-path=bower_components/bootstrap/less/" " --source-map" ]
62
66
" install-db" [" with-profile" " db" " run" ]
63
67
" run-client" [" do" " bower," " cljsbuild" " once," " less-debug," " resource," " httpd" " 8000" ]
64
68
" run-server" [" ring" " server-headless" ]
65
- " dist" [" with-profile" " prod" " do" " ring " " uberjar," " cljsbuild" " once" " prod," " less-prod,"
69
+ " dist" [" with-profile" " prod" " do" " uberjar," " cljsbuild" " once" " prod," " less-prod,"
66
70
" resource" ]}
67
71
:clean-targets [:target-path :compile-path " static" " dist" ])
0 commit comments