Browse Source

trying without -o

Daniel Zlotin 8 years ago
parent
commit
2c4c6aac36
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      playground/scripts/e2e.ios.js

+ 3
- 3
playground/scripts/e2e.ios.js View File

16
 
16
 
17
   shellUtils.exec.execSync(`./scripts/detoxDebugFix.rb ${release ? '' : 'debug'}`);
17
   shellUtils.exec.execSync(`./scripts/detoxDebugFix.rb ${release ? '' : 'debug'}`);
18
 
18
 
19
-  shellUtils.exec.execSync(`echo -en 'travis_fold:start:xcodebuild'`);
19
+  shellUtils.exec.execSync(`echo -en 'travis_fold:start:xcodebuild\n'`);
20
 
20
 
21
   const cmd = `RCT_NO_LAUNCH_PACKAGER=true
21
   const cmd = `RCT_NO_LAUNCH_PACKAGER=true
22
           cd ios && xcodebuild
22
           cd ios && xcodebuild
26
             -derivedDataPath ./DerivedData/playground`;
26
             -derivedDataPath ./DerivedData/playground`;
27
 
27
 
28
   if (hasXcpretty()) {
28
   if (hasXcpretty()) {
29
-    shellUtils.exec.execSync(`set -o pipefail && ${cmd} | xcpretty`);
29
+    shellUtils.exec.execSync(`${cmd} | xcpretty`);
30
   } else {
30
   } else {
31
     shellUtils.exec.execSync(`${cmd}`);
31
     shellUtils.exec.execSync(`${cmd}`);
32
   }
32
   }
33
 
33
 
34
-  shellUtils.exec.execSync(`echo -en 'travis_fold:end:xcodebuild'`);
34
+  shellUtils.exec.execSync(`echo -en 'travis_fold:end:xcodebuild\n'`);
35
 }
35
 }
36
 function hasXcpretty() {
36
 function hasXcpretty() {
37
   try {
37
   try {