mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Paramters must be transferred. (#1638)
This commit is contained in:
parent
290b7bfd76
commit
30b87645df
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,3 +1,17 @@
|
|||||||
|
X.Y.Z Release notes (2018-1-25)
|
||||||
|
=============================================================
|
||||||
|
### Breaking changes
|
||||||
|
* None.
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
* None.
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
* [Object Server] Fixed a bug where arguments were not transferred when debugging.
|
||||||
|
|
||||||
|
### Internal
|
||||||
|
* None.
|
||||||
|
|
||||||
2.2.5 Release notes (2018-1-25)
|
2.2.5 Release notes (2018-1-25)
|
||||||
=============================================================
|
=============================================================
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
|
@ -36,8 +36,8 @@ export default class User {
|
|||||||
return getAllUsersRPC();
|
return getAllUsersRPC();
|
||||||
}
|
}
|
||||||
|
|
||||||
static _getExistingUser() {
|
static _getExistingUser(server, identity) {
|
||||||
return _getExistingUserRPC();
|
return _getExistingUserRPC(Array.from(arguments));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ cleanup() {
|
|||||||
|
|
||||||
echo "shutting down running simulators"
|
echo "shutting down running simulators"
|
||||||
shutdown_ios_simulator >/dev/null 2>&1
|
shutdown_ios_simulator >/dev/null 2>&1
|
||||||
|
|
||||||
# Quit Simulator.app to give it a chance to go down gracefully
|
# Quit Simulator.app to give it a chance to go down gracefully
|
||||||
if $startedSimulator; then
|
if $startedSimulator; then
|
||||||
osascript -e 'tell app "Simulator" to quit without saving' || true
|
osascript -e 'tell app "Simulator" to quit without saving' || true
|
||||||
@ -102,11 +102,11 @@ cleanup() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
open_chrome() {
|
open_chrome() {
|
||||||
if [ $CONFIGURATION == 'Release' ]; then
|
if [ $CONFIGURATION == 'Release' ]; then
|
||||||
return;
|
return;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local dir
|
local dir
|
||||||
for dir in "$HOME/Applications" "/Applications"; do
|
for dir in "$HOME/Applications" "/Applications"; do
|
||||||
if [ -d "$dir/Google Chrome.app" ]; then
|
if [ -d "$dir/Google Chrome.app" ]; then
|
||||||
@ -140,12 +140,12 @@ xctest() {
|
|||||||
echo "*** Failure (exit code $EXITCODE). ***"
|
echo "*** Failure (exit code $EXITCODE). ***"
|
||||||
exit $EXITCODE
|
exit $EXITCODE
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Installing application on ${SIM_DEVICE_NAME}"
|
echo "Installing application on ${SIM_DEVICE_NAME}"
|
||||||
echo "Application Path" $(pwd)/build/Build/Products/$CONFIGURATION-iphonesimulator/$1.app
|
echo "Application Path" $(pwd)/build/Build/Products/$CONFIGURATION-iphonesimulator/$1.app
|
||||||
xcrun simctl install ${SIM_DEVICE_NAME} $(pwd)/build/Build/Products/$CONFIGURATION-iphonesimulator/$1.app
|
xcrun simctl install ${SIM_DEVICE_NAME} $(pwd)/build/Build/Products/$CONFIGURATION-iphonesimulator/$1.app
|
||||||
|
|
||||||
|
|
||||||
echo "Launching application. (output is in $(pwd)/build/out.txt)"
|
echo "Launching application. (output is in $(pwd)/build/out.txt)"
|
||||||
xcrun simctl launch --console ${SIM_DEVICE_NAME} io.realm.$1 | tee $(pwd)/build/out.txt
|
xcrun simctl launch --console ${SIM_DEVICE_NAME} io.realm.$1 | tee $(pwd)/build/out.txt
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ check_test_results() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_ios_simulator() {
|
setup_ios_simulator() {
|
||||||
#try deleting old simulator with same name.
|
#try deleting old simulator with same name.
|
||||||
echo "Preparing to create a new simulator"
|
echo "Preparing to create a new simulator"
|
||||||
delete_ios_simulator >/dev/null 2>&1
|
delete_ios_simulator >/dev/null 2>&1
|
||||||
@ -180,12 +180,12 @@ setup_ios_simulator() {
|
|||||||
xcrun simctl boot ${SIM_DEVICE_NAME}
|
xcrun simctl boot ${SIM_DEVICE_NAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
shutdown_ios_simulator() {
|
shutdown_ios_simulator() {
|
||||||
#shutdown test simulator
|
#shutdown test simulator
|
||||||
xcrun simctl shutdown ${SIM_DEVICE_NAME} || true
|
xcrun simctl shutdown ${SIM_DEVICE_NAME} || true
|
||||||
}
|
}
|
||||||
|
|
||||||
delete_ios_simulator() {
|
delete_ios_simulator() {
|
||||||
shutdown_ios_simulator
|
shutdown_ios_simulator
|
||||||
|
|
||||||
#delete test simulator
|
#delete test simulator
|
||||||
@ -309,7 +309,7 @@ case "$TARGET" in
|
|||||||
echo "********* TESTS COMPLETED *********";
|
echo "********* TESTS COMPLETED *********";
|
||||||
echo "********* File location: $(pwd)/tests.xml *********";
|
echo "********* File location: $(pwd)/tests.xml *********";
|
||||||
cat tests.xml
|
cat tests.xml
|
||||||
|
|
||||||
check_test_results ReactTests
|
check_test_results ReactTests
|
||||||
;;
|
;;
|
||||||
"node")
|
"node")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user