update run-osx for unit tests and iTerm new release

This commit is contained in:
Jarrad 2016-06-02 11:51:44 +02:00
parent 084f067ae8
commit 058f470ea7
3 changed files with 10 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "StatusIm", "name": "StatusIm",
"interface": "reagent", "interface": "reagent",
"androidHost": "10.0.3.2", "androidHost": "localhost",
"modules": [ "modules": [
"react-native-contacts", "react-native-contacts",
"react-native-invertible-scroll-view", "react-native-invertible-scroll-view",

View File

@ -10,7 +10,7 @@
(def root-el (r/as-element [reloader])) (def root-el (r/as-element [reloader]))
(figwheel/watch-and-reload (figwheel/watch-and-reload
:websocket-url "ws://10.0.3.2:3449/figwheel-ws" :websocket-url "ws://localhost:3449/figwheel-ws"
:heads-up-display false :heads-up-display false
:jsload-callback #(swap! cnt inc)) :jsload-callback #(swap! cnt inc))

View File

@ -17,14 +17,16 @@ function tab () {
fi fi
osascript &>/dev/null <<EOF osascript &>/dev/null <<EOF
tell application "iTerm" tell application "iTerm2"
tell current terminal tell current window
launch session "Default Session" set newTab to (create tab with default profile)
tell the last session tell newTab
tell current session
write text "cd \"$cdto\"$cmd" write text "cd \"$cdto\"$cmd"
end tell end tell
end tell end tell
end tell end tell
end tell
EOF EOF
} }
@ -64,4 +66,5 @@ if [ ! -z $2 ]
then then
tab "appium" tab "appium"
lein test lein test
lein doo node test once
fi fi