#36: Still not working, but good enough for now

The compiled clojurescript is still not correctly deployed in the war; however, it is now compiled correctly and does work, and can be moved into place manually after deployment.
This commit is contained in:
Simon Brooke 2017-03-29 10:22:13 +01:00
parent 63a0ac0aca
commit 6483b5ae9d
14 changed files with 24 additions and 29 deletions

View file

@ -8,6 +8,7 @@
[ring/ring-servlet "1.5.1"]
[lib-noir "0.9.9" :exclusions [org.clojure/tools.reader]]
[clj-oauth "1.5.5"]
[cljsjs/react-leaflet "0.12.3-4"]
[ch.qos.logback/logback-classic "1.2.2"]
[re-frame "0.9.2"]
[cljs-ajax "0.5.8"]
@ -76,23 +77,14 @@
{:min
{:source-paths ["src/cljc" "src/cljs" "env/prod/cljs"]
:compiler
{:asset-path "/youyesyet/js/out"
:externs "externs.js"
:main "youyesyet.core"
{: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]]