2016-05-19 16:31:56 +00:00
|
|
|
(defproject status-im "0.1.0-SNAPSHOT"
|
2016-03-04 17:28:06 +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-10-11 14:24:52 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.9.0-alpha13"]
|
2016-09-17 12:35:01 +00:00
|
|
|
[org.clojure/clojurescript "1.9.229"]
|
2016-04-04 16:21:10 +00:00
|
|
|
[reagent "0.5.1" :exclusions [cljsjs/react]]
|
2016-07-22 08:53:12 +00:00
|
|
|
[re-frame "0.7.0"]
|
2016-04-04 16:21:10 +00:00
|
|
|
[prismatic/schema "1.0.4"]
|
2016-07-20 09:03:05 +00:00
|
|
|
[natal-shell "0.3.0"]
|
2016-06-30 16:00:44 +00:00
|
|
|
[com.andrewmcveigh/cljs-time "0.4.0"]
|
|
|
|
[tailrecursion/cljs-priority-map "1.2.0"]
|
2016-09-04 15:39:05 +00:00
|
|
|
[com.taoensso/timbre "4.7.4"]
|
2016-10-24 20:46:06 +00:00
|
|
|
[org.clojure/test.check "0.9.0"]]
|
|
|
|
:plugins [[lein-cljsbuild "1.1.4"]
|
2016-09-17 12:35:01 +00:00
|
|
|
[lein-figwheel "0.5.0-2"]]
|
2016-03-04 17:28:06 +00:00
|
|
|
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
|
|
|
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
2016-03-17 17:17:21 +00:00
|
|
|
["do" "clean"
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
|
|
|
["with-profile" "prod" "cljsbuild" "once" "android"]]}
|
2016-05-29 18:14:34 +00:00
|
|
|
:test-paths ["test/clj"]
|
2016-03-17 17:17:21 +00:00
|
|
|
:figwheel {:nrepl-port 7888}
|
2016-04-04 16:21:10 +00:00
|
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-2"]
|
2016-05-26 12:31:11 +00:00
|
|
|
[com.cemerick/piggieback "0.2.1"]
|
2016-05-29 18:14:34 +00:00
|
|
|
[io.appium/java-client "3.4.1"]]
|
|
|
|
:plugins [[lein-doo "0.1.6"]]
|
2016-04-04 16:21:10 +00:00
|
|
|
:source-paths ["src" "env/dev"]
|
2016-07-18 13:22:32 +00:00
|
|
|
:cljsbuild {:builds {:ios {: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}}
|
|
|
|
:android {: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}}
|
|
|
|
:android-test {:source-paths ["src" "env/dev"]
|
|
|
|
:figwheel true
|
|
|
|
:compiler {:output-to "target/android/not-used.js"
|
|
|
|
:main "env.android-test.main"
|
|
|
|
:output-dir "target/android"
|
|
|
|
:optimizations :none}}
|
|
|
|
:test {:source-paths ["src" "test/cljs"]
|
|
|
|
:compiler
|
|
|
|
{:main status-im.test.runner
|
|
|
|
:output-to "target/test/test.js"
|
|
|
|
:optimizations :none
|
|
|
|
:target :nodejs}}}}
|
2016-04-04 16:21:10 +00:00
|
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
2016-10-24 20:46:06 +00:00
|
|
|
:prod {:cljsbuild {:builds [{:id "ios"
|
|
|
|
: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}}}
|
|
|
|
{:id "android"
|
|
|
|
: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}}}]}}})
|