#37: Preliminary work
This commit is contained in:
parent
92ad75da92
commit
00c7cb9b84
3 changed files with 347 additions and 6 deletions
34
project.clj
34
project.clj
|
|
@ -65,12 +65,34 @@
|
|||
|
||||
:hooks [leiningen.less]
|
||||
|
||||
:uberwar
|
||||
{:prep-tasks ["compile" "bower" ["cljsbuild" "once" "min"]]
|
||||
:handler youyesyet.handler/app
|
||||
:init youyesyet.handler/init
|
||||
:destroy youyesyet.handler/destroy
|
||||
:name "youyesyet.war"}
|
||||
:uberwar {:handler youyesyet.handler/app
|
||||
:init youyesyet.handler/init
|
||||
:destroy youyesyet.handler/destroy
|
||||
:name "youyesyet.war"
|
||||
:uberjar {:omit-source true
|
||||
:prep-tasks ["compile" ["bower" "install"] ["cljsbuild" "once" "min"]]
|
||||
:cljsbuild
|
||||
{:builds
|
||||
{:min
|
||||
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
|
||||
:compiler
|
||||
{:asset-path "/youyesyet/js/out"
|
||||
:externs "externs.js"
|
||||
:main "youyesyet.core"
|
||||
:optimizations :advanced
|
||||
:output-dir "resources/public/js"
|
||||
:output-to "resources/public/js/app.js"
|
||||
:pretty-print false
|
||||
:verbose true}}}}
|
||||
:aot :all
|
||||
:uberjar-name "youyesyet.jar"
|
||||
:source-paths ["env/prod/clj"]
|
||||
:resource-paths ["env/prod/resources"]}}
|
||||
;; {:prep-tasks ["compile" "bower" ["cljsbuild" "once" "min"]]
|
||||
;; :handler youyesyet.handler/app
|
||||
;; :init youyesyet.handler/init
|
||||
;; :destroy youyesyet.handler/destroy
|
||||
;; :name "youyesyet.war"}
|
||||
|
||||
:clean-targets ^{:protect false}
|
||||
[:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue