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"}
|
|
|
|
:dependencies [[org.clojure/clojure "1.7.0"]
|
|
|
|
[org.clojure/clojurescript "1.7.170"]
|
2016-02-07 12:48:00 +00:00
|
|
|
$INTERFACE_DEPS$]
|
2015-11-27 22:57:14 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.1"]
|
2016-03-20 10:25:45 +00:00
|
|
|
[lein-figwheel "0.5.0-6"]]
|
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"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "android"]]}
|
2016-03-20 10:25:45 +00:00
|
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
|
2015-12-14 22:02:40 +00:00
|
|
|
[com.cemerick/piggieback "0.2.1"]]
|
|
|
|
:source-paths ["src" "env/dev"]
|
|
|
|
:cljsbuild {:builds {:ios {:source-paths ["src" "env/dev"]
|
2015-12-06 19:22:53 +00:00
|
|
|
:figwheel true
|
2015-11-27 22:57:14 +00:00
|
|
|
:compiler {:output-to "target/ios/not-used.js"
|
2015-11-28 15:20:39 +00:00
|
|
|
:main "env.ios.main"
|
2015-11-27 22:57:14 +00:00
|
|
|
:output-dir "target/ios"
|
|
|
|
:optimizations :none}}
|
2015-11-28 15:20:39 +00:00
|
|
|
:android {:source-paths ["src" "env/dev"]
|
2015-12-06 19:22:53 +00:00
|
|
|
:figwheel true
|
2015-11-27 22:57:14 +00:00
|
|
|
:compiler {:output-to "target/android/not-used.js"
|
2015-11-28 15:20:39 +00:00
|
|
|
:main "env.android.main"
|
2015-11-27 22:57:14 +00:00
|
|
|
:output-dir "target/android"
|
|
|
|
:optimizations :none}}}}
|
2015-12-14 22:02:40 +00:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
2015-11-28 15:20:39 +00:00
|
|
|
:prod {:cljsbuild {:builds {:ios {:source-paths ["src" "env/prod"]
|
2015-11-27 22:57:14 +00:00
|
|
|
:compiler {:output-to "index.ios.js"
|
2015-11-28 15:20:39 +00:00
|
|
|
:main "env.ios.main"
|
2015-11-27 22:57:14 +00:00
|
|
|
:output-dir "target/ios"
|
2016-05-13 14:59:29 +00:00
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
2015-11-27 22:57:14 +00:00
|
|
|
:optimizations :simple}}
|
2015-11-28 15:20:39 +00:00
|
|
|
:android {:source-paths ["src" "env/prod"]
|
2015-11-27 22:57:14 +00:00
|
|
|
:compiler {:output-to "index.android.js"
|
2015-11-28 15:20:39 +00:00
|
|
|
:main "env.android.main"
|
2015-11-27 22:57:14 +00:00
|
|
|
:output-dir "target/android"
|
2016-05-13 14:59:29 +00:00
|
|
|
:static-fns true
|
|
|
|
:optimize-constants true
|
2015-11-27 22:57:14 +00:00
|
|
|
:optimizations :simple}}}}
|
2016-05-13 14:59:29 +00:00
|
|
|
}})
|