Merge pull request #73 from levitanong/patch-1
Updates :builds to be compatible with latest cljsbuild
This commit is contained in:
commit
3a41150f0c
|
@ -16,33 +16,36 @@
|
||||||
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
|
||||||
[com.cemerick/piggieback "0.2.1"]]
|
[com.cemerick/piggieback "0.2.1"]]
|
||||||
:source-paths ["src" "env/dev"]
|
:source-paths ["src" "env/dev"]
|
||||||
:cljsbuild {:builds {:ios {:source-paths ["src" "env/dev"]
|
:cljsbuild {:builds [{:id :ios
|
||||||
:figwheel true
|
:source-paths ["src" "env/dev"]
|
||||||
:compiler {:output-to "target/ios/not-used.js"
|
:figwheel true
|
||||||
:main "env.ios.main"
|
:compiler {:output-to "target/ios/not-used.js"
|
||||||
:output-dir "target/ios"
|
:main "env.ios.main"
|
||||||
:optimizations :none}}
|
:output-dir "target/ios"
|
||||||
:android {:source-paths ["src" "env/dev"]
|
:optimizations :none}}
|
||||||
:figwheel true
|
{:id :android
|
||||||
:compiler {:output-to "target/android/not-used.js"
|
:source-paths ["src" "env/dev"]
|
||||||
:main "env.android.main"
|
:figwheel true
|
||||||
:output-dir "target/android"
|
:compiler {:output-to "target/android/not-used.js"
|
||||||
:optimizations :none}}}}
|
:main "env.android.main"
|
||||||
|
:output-dir "target/android"
|
||||||
|
:optimizations :none}}]}
|
||||||
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
||||||
:prod {:cljsbuild {:builds {:ios {:source-paths ["src" "env/prod"]
|
:prod {:cljsbuild {:builds [{:id :ios
|
||||||
:compiler {:output-to "index.ios.js"
|
:source-paths ["src" "env/prod"]
|
||||||
:main "env.ios.main"
|
:compiler {:output-to "index.ios.js"
|
||||||
:output-dir "target/ios"
|
:main "env.ios.main"
|
||||||
:static-fns true
|
:output-dir "target/ios"
|
||||||
:optimize-constants true
|
:static-fns true
|
||||||
:optimizations :simple
|
:optimize-constants true
|
||||||
:closure-defines {"goog.DEBUG" false}}}
|
:optimizations :simple
|
||||||
:android {:source-paths ["src" "env/prod"]
|
:closure-defines {"goog.DEBUG" false}}}
|
||||||
:compiler {:output-to "index.android.js"
|
{:id :android
|
||||||
:main "env.android.main"
|
:source-paths ["src" "env/prod"]
|
||||||
:output-dir "target/android"
|
:compiler {:output-to "index.android.js"
|
||||||
:static-fns true
|
:main "env.android.main"
|
||||||
:optimize-constants true
|
:output-dir "target/android"
|
||||||
:optimizations :simple
|
:static-fns true
|
||||||
:closure-defines {"goog.DEBUG" false}}}}}
|
:optimize-constants true
|
||||||
}})
|
:optimizations :simple
|
||||||
|
:closure-defines {"goog.DEBUG" false}}}]}}})
|
||||||
|
|
Loading…
Reference in New Issue