mirror of
https://github.com/status-im/re-natal.git
synced 2025-01-26 12:30:02 +00:00
fc341e723b
- ReactNative server host updates had to be changed for 0.29.2: AppDelegate.m does not have host anymore, RegExp for host in RCTWebSocketExecutor.m had to be changed.
49 lines
4.1 KiB
Clojure
49 lines
4.1 KiB
Clojure
(defproject $PROJECT_NAME_HYPHENATED$ "0.1.0-SNAPSHOT"
|
|
: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.8.0"]
|
|
[org.clojure/clojurescript "1.8.51"]
|
|
$INTERFACE_DEPS$]
|
|
:plugins [[lein-cljsbuild "1.1.1"]
|
|
[lein-figwheel "0.5.0-6"]]
|
|
: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"]]}
|
|
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
|
|
[com.cemerick/piggieback "0.2.1"]]
|
|
:source-paths ["src" "env/dev"]
|
|
: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}}}}
|
|
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
|
:prod {:cljsbuild {:builds {: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}}}
|
|
: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}}}}}
|
|
}})
|