Skip to content

Commit 4312c32

Browse files
authored
Merge pull request #69893 from ahoppen/ahoppen/5.10/swift-syntax-dev-utils-vv
[5.10][swift-syntax] Run `swift run` with `--vv`
2 parents 3a989b6 + c808913 commit 4312c32

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

utils/swift_build_support/swift_build_support/products/swiftsyntax.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ def run_swiftsyntax_build_script(self, target, command, additional_params=[]):
5555
build_cmd = [
5656
os.path.join(self.install_toolchain_path(target), "bin", "swift"),
5757
'run',
58+
]
59+
if self.args.verbose_build:
60+
build_cmd.append('--vv')
61+
build_cmd += [
5862
'--package-path', script_path,
5963
'swift-syntax-dev-utils',
6064
command,
@@ -92,6 +96,10 @@ def build(self, host_target):
9296
build_cmd = [
9397
os.path.join(self.install_toolchain_path(host_target), "bin", "swift"),
9498
'run',
99+
]
100+
if self.args.verbose_build:
101+
build_cmd.append('--vv')
102+
build_cmd += [
95103
'--package-path', script_path,
96104
'swift-syntax-dev-utils',
97105
'verify-source-code',

0 commit comments

Comments
 (0)