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 @@ -79,6 +79,12 @@ def parse_args():
79
79
action = 'store_true' )
80
80
parser .add_argument ('--skip-runner' ,
81
81
action = 'store_true' )
82
+ parser .add_argument ("--add-swift-flags" ,
83
+ metavar = "FLAGS" ,
84
+ help = 'add flags to each Swift invocation (note: field '
85
+ 'names from projects.json enclosed in {} will be '
86
+ 'replaced with their value)' ,
87
+ default = '' )
82
88
return parser .parse_args ()
83
89
84
90
@@ -151,6 +157,9 @@ def execute_runner(workspace, args):
151
157
runner_command += get_sandbox_profile_flags ()
152
158
if args .verbose :
153
159
runner_command += ["--verbose" ]
160
+
161
+ if args .add_swift_flags :
162
+ runner_command += ['--add-swift-flags=%s' % args .add_swift_flags ]
154
163
common .check_execute (runner_command , timeout = 9999999 )
155
164
156
165
You can’t perform that action at this time.
0 commit comments