mirror of
https://github.com/status-im/status-react.git
synced 2025-01-22 08:49:22 +00:00
moved re-frisk in the dev env
0.4.4 added re-frisk debugger implemented “lein re-frisk use-re-natal”
This commit is contained in:
parent
d0eaa55d9d
commit
0c98cd0aaf
3
env/dev/env/android/main.cljs
vendored
3
env/dev/env/android/main.cljs
vendored
@ -1,5 +1,6 @@
|
||||
(ns ^:figwheel-no-load env.android.main
|
||||
(:require [reagent.core :as r]
|
||||
[re-frisk-remote.core :as rr]
|
||||
[status-im.android.core :as core]
|
||||
[figwheel.client :as figwheel :include-macros true]))
|
||||
|
||||
@ -18,4 +19,6 @@
|
||||
:heads-up-display false
|
||||
:jsload-callback callback)
|
||||
|
||||
(rr/enable-re-frisk-remote!)
|
||||
|
||||
(core/init)
|
||||
|
3
env/dev/env/ios/main.cljs
vendored
3
env/dev/env/ios/main.cljs
vendored
@ -1,5 +1,6 @@
|
||||
(ns ^:figwheel-no-load env.ios.main
|
||||
(:require [reagent.core :as r]
|
||||
[re-frisk-remote.core :as rr]
|
||||
[status-im.ios.core :as core]
|
||||
[figwheel.client :as figwheel :include-macros true]
|
||||
[cljs.pprint]))
|
||||
@ -15,4 +16,6 @@
|
||||
:heads-up-display false
|
||||
:jsload-callback #(swap! cnt inc))
|
||||
|
||||
(rr/enable-re-frisk-remote!)
|
||||
|
||||
(core/init)
|
4
env/dev/user.clj
vendored
4
env/dev/user.clj
vendored
@ -1,6 +1,7 @@
|
||||
(ns user
|
||||
(:use [figwheel-sidecar.repl-api :as ra])
|
||||
(:require [hawk.core :as hawk]
|
||||
[re-frisk-sidecar.core :as rfs]
|
||||
[clojure.string :as s]))
|
||||
;; This namespace is loaded automatically by nREPL
|
||||
|
||||
@ -72,4 +73,5 @@
|
||||
(map keyword (s/split env-build-ids #","))
|
||||
[:android])
|
||||
builds (get-builds build-ids buids-by-id)]
|
||||
(start-figwheel build-ids builds))
|
||||
(start-figwheel build-ids builds)
|
||||
(rfs/-main))
|
||||
|
@ -13,6 +13,7 @@
|
||||
[com.taoensso/timbre "4.7.4"]]
|
||||
:plugins [[lein-cljsbuild "1.1.4"]
|
||||
[lein-figwheel "0.5.8"]
|
||||
[lein-re-frisk "0.4.6"]
|
||||
[rasom/lein-externs "0.1.7"]]
|
||||
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
||||
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
||||
@ -23,6 +24,8 @@
|
||||
:test-paths ["test/clj"]
|
||||
:figwheel {:nrepl-port 7888}
|
||||
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"]
|
||||
[re-frisk-remote "0.4.1"]
|
||||
[re-frisk-sidecar "0.4.4"]
|
||||
[com.cemerick/piggieback "0.2.1"]
|
||||
[io.appium/java-client "3.4.1"]
|
||||
[hawk "0.2.10"]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user