2018-02-18 12:13:53 +00:00
|
|
|
(ns figwheel
|
|
|
|
(:require [clojure.string :as s]))
|
|
|
|
|
|
|
|
(defn system-options [builds-to-start]
|
|
|
|
{:nrepl-port 7888
|
2018-03-22 14:48:04 +00:00
|
|
|
:builds [{:id :desktop
|
2018-07-23 15:21:31 +00:00
|
|
|
:source-paths ["react-native/src/cljsjs" "react-native/src/desktop" "src" "env/dev"]
|
|
|
|
:compiler {:output-to "target/desktop/app.js"
|
2018-03-22 14:48:04 +00:00
|
|
|
:main "env.desktop.main"
|
|
|
|
:output-dir "target/desktop"
|
2018-05-01 08:28:49 +00:00
|
|
|
:npm-deps false
|
2018-03-22 14:48:04 +00:00
|
|
|
:optimizations :none}
|
|
|
|
:figwheel true}
|
|
|
|
{:id :ios
|
2018-07-23 15:21:31 +00:00
|
|
|
:source-paths ["react-native/src/cljsjs" "react-native/src/mobile" "src" "env/dev"]
|
2018-02-18 12:13:53 +00:00
|
|
|
:compiler {:output-to "target/ios/app.js"
|
|
|
|
:main "env.ios.main"
|
|
|
|
:output-dir "target/ios"
|
2018-05-01 08:28:49 +00:00
|
|
|
:npm-deps false
|
2018-02-18 12:13:53 +00:00
|
|
|
:optimizations :none}
|
|
|
|
:figwheel true}
|
|
|
|
{:id :android
|
2018-07-23 15:21:31 +00:00
|
|
|
:source-paths ["react-native/src/cljsjs" "react-native/src/mobile" "src" "env/dev"]
|
2018-02-18 12:13:53 +00:00
|
|
|
:compiler {:output-to "target/android/app.js"
|
|
|
|
:main "env.android.main"
|
|
|
|
:output-dir "target/android"
|
2018-05-01 08:28:49 +00:00
|
|
|
:npm-deps false
|
2018-02-18 12:13:53 +00:00
|
|
|
:optimizations :none}
|
|
|
|
:warning-handlers '[status-im.utils.build/warning-handler]
|
|
|
|
:figwheel true}]
|
|
|
|
:builds-to-start builds-to-start})
|