File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ def parse_args():
94
94
parser .add_argument ("--distcc" ,
95
95
help = 'Pass --distcc to the build script' ,
96
96
action = 'store_true' )
97
+ parser .add_argument ("--build-config" ,
98
+ metavar = "NAME" ,
99
+ choices = ['debug' , 'release' ],
100
+ dest = 'build_config' ,
101
+ help = 'specify "debug" or "release" to override '
102
+ 'the build configuration in the projects.json file' )
97
103
return parser .parse_args ()
98
104
99
105
@@ -173,6 +179,9 @@ def execute_runner(workspace, args):
173
179
if args .add_xcodebuild_flags :
174
180
runner_command += ['--add-xcodebuild-flags=%s' % args .add_xcodebuild_flags ]
175
181
182
+ if args .build_config :
183
+ runner_command += ['--build-config=%s' % args .build_config ]
184
+
176
185
common .check_execute (runner_command , timeout = 9999999 )
177
186
178
187
You can’t perform that action at this time.
0 commit comments