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"]
|
|
|
|
[reagent "0.5.1" :exclusions [cljsjs/react]]
|
2015-12-13 21:49:54 +00:00
|
|
|
[re-frame "0.6.0"]
|
|
|
|
[prismatic/schema "1.0.4"]]
|
2015-11-27 22:57:14 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.1"]
|
|
|
|
[lein-figwheel "0.5.0-2"]]
|
|
|
|
: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"]]}
|
2015-11-28 15:20:39 +00:00
|
|
|
:profiles {: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-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"
|
|
|
|
: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"
|
|
|
|
:optimizations :simple}}}}
|
|
|
|
}})
|