2015-08-22 05:07:37 +00:00
|
|
|
(defproject $PROJECT_NAME_HYPHENATED$ "0.1.0-SNAPSHOT"
|
2015-11-27 22:57:14 +00:00
|
|
|
:description "FIXME: write description"
|
|
|
|
:url "http://example.com/FIXME"
|
|
|
|
:license {:name "Eclipse Public License"
|
|
|
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
2016-07-24 22:06:55 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.9.0-alpha10"]
|
2016-08-13 07:44:14 +00:00
|
|
|
[org.clojure/clojurescript "1.9.198"]
|
2016-02-07 12:48:00 +00:00
|
|
|
$INTERFACE_DEPS$]
|
2016-10-11 18:42:04 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.4"]
|
2016-10-13 19:30:25 +00:00
|
|
|
[lein-figwheel "0.5.8"]]
|
2015-11-27 22:57:14 +00:00
|
|
|
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
|
|
|
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
|
|
|
["do" "clean"
|
2017-02-21 07:40:08 +00:00
|
|
|
["with-profile" "prod" "cljsbuild" "once"]]}
|
2016-10-13 19:30:25 +00:00
|
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"]
|
2015-12-14 22:02:40 +00:00
|
|
|
[com.cemerick/piggieback "0.2.1"]]
|
|
|
|
:source-paths ["src" "env/dev"]
|
2016-10-11 18:42:04 +00:00
|
|
|
:cljsbuild {:builds [{:id "ios"
|
2016-10-10 08:14:30 +00:00
|
|
|
:source-paths ["src" "env/dev"]
|
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/ios/not-used.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
|
|
|
:optimizations :none}}
|
2016-10-11 18:42:04 +00:00
|
|
|
{:id "android"
|
2016-10-10 08:14:30 +00:00
|
|
|
:source-paths ["src" "env/dev"]
|
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/android/not-used.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
|
|
|
:optimizations :none}}]}
|
2015-12-14 22:02:40 +00:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
2016-10-11 18:42:04 +00:00
|
|
|
:prod {:cljsbuild {:builds [{:id "ios"
|
2016-10-10 08:14:30 +00:00
|
|
|
:source-paths ["src" "env/prod"]
|
|
|
|
:compiler {:output-to "index.ios.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
|
|
|
:optimizations :simple
|
|
|
|
:closure-defines {"goog.DEBUG" false}}}
|
2016-10-11 18:42:04 +00:00
|
|
|
{:id "android"
|
2016-10-10 08:14:30 +00:00
|
|
|
:source-paths ["src" "env/prod"]
|
|
|
|
:compiler {:output-to "index.android.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
|
|
|
:optimizations :simple
|
|
|
|
:closure-defines {"goog.DEBUG" false}}}]}}})
|