Skip to content

Commit f863cff

Browse files
authored
ci(ios): disable Flipper when building templates [skip ci] (#1200)
1 parent 5a358eb commit f863cff

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
fi
199199
- name: Install Pods
200200
run: |
201-
pod install --project-directory=${{ steps.configure.outputs.project-directory }}
201+
USE_FLIPPER=0 pod install --project-directory=${{ steps.configure.outputs.project-directory }}
202202
working-directory: template-example
203203
- name: Build
204204
run: |

scripts/configure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ const getConfig = (() => {
576576
Podfile: join(
577577
`require_relative '${testAppRelPath}/test_app'`,
578578
"",
579-
"use_flipper!",
579+
"use_flipper! false if ENV['USE_FLIPPER'] == '0'",
580580
"",
581581
`workspace '${name}.xcworkspace'`,
582582
"",

test/configure/__snapshots__/gatherConfig.test.js.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Object {
1212
},
1313
"Podfile": "require_relative '../test_app'
1414
15-
use_flipper!
15+
use_flipper! false if ENV['USE_FLIPPER'] == '0'
1616
1717
workspace 'Test.xcworkspace'
1818
@@ -133,7 +133,7 @@ applyTestAppSettings(settings)
133133
},
134134
"ios/Podfile": "require_relative '../../test_app'
135135
136-
use_flipper!
136+
use_flipper! false if ENV['USE_FLIPPER'] == '0'
137137
138138
workspace 'Test.xcworkspace'
139139
@@ -303,7 +303,7 @@ Object {
303303
},
304304
"ios/Podfile": "require_relative '../../test_app'
305305
306-
use_flipper!
306+
use_flipper! false if ENV['USE_FLIPPER'] == '0'
307307
308308
workspace 'Test.xcworkspace'
309309
@@ -435,7 +435,7 @@ applyTestAppSettings(settings)
435435
},
436436
"ios/Podfile": "require_relative '../../test_app'
437437
438-
use_flipper!
438+
use_flipper! false if ENV['USE_FLIPPER'] == '0'
439439
440440
workspace 'Test.xcworkspace'
441441
@@ -586,7 +586,7 @@ applyTestAppSettings(settings)
586586
},
587587
"ios/Podfile": "require_relative '../../test_app'
588588
589-
use_flipper!
589+
use_flipper! false if ENV['USE_FLIPPER'] == '0'
590590
591591
workspace 'Test.xcworkspace'
592592

0 commit comments

Comments
 (0)