|
@@ -3,17 +3,9 @@ const exec = require('shell-utils').exec;
|
3
|
3
|
|
4
|
4
|
const release = _.includes(process.argv, 'release');
|
5
|
5
|
|
6
|
|
-function runWithXcpretty(cmd) {
|
7
|
|
- // if (exec.which(`xcpretty`)) {
|
8
|
|
- // exec.execSync(`${cmd} | xcpretty && exit \${PIPESTATUS[0]}`);
|
9
|
|
- // } else {
|
10
|
|
- exec.execSync(`${cmd}`);
|
11
|
|
- // }
|
12
|
|
-}
|
13
|
|
-
|
14
|
6
|
function run() {
|
15
|
7
|
const conf = release ? `Release` : `Debug`;
|
16
|
|
- runWithXcpretty(`RCT_NO_LAUNCH_PACKAGER=true
|
|
8
|
+ exec.execSync(`RCT_NO_LAUNCH_PACKAGER=true
|
17
|
9
|
cd ./playground/ios && xcodebuild
|
18
|
10
|
build build-for-testing
|
19
|
11
|
-scheme "ReactNativeNavigation"
|
|
@@ -22,7 +14,7 @@ function run() {
|
22
|
14
|
-configuration ${conf}
|
23
|
15
|
-derivedDataPath ./DerivedData/playground
|
24
|
16
|
ONLY_ACTIVE_ARCH=YES && echo $?`);
|
25
|
|
- runWithXcpretty(`RCT_NO_LAUNCH_PACKAGER=true
|
|
17
|
+ exec.execSync(`RCT_NO_LAUNCH_PACKAGER=true
|
26
|
18
|
cd ./playground/ios && xcodebuild
|
27
|
19
|
test-without-building
|
28
|
20
|
-scheme "ReactNativeNavigation"
|