We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1cc4c commit fc68e77Copy full SHA for fc68e77
utils/swift_build_support/swift_build_support/products/swiftsyntax.py
@@ -80,6 +80,16 @@ def should_build(self, host_target):
80
return True
81
82
def build(self, host_target):
83
+ if self.args.swiftsyntax_verify_generated_files:
84
+ build_cmd = [
85
+ os.path.join(self.source_dir, 'build-script.py'),
86
+ 'verify-source-code',
87
+ '--toolchain', self.install_toolchain_path(host_target)
88
+ ]
89
+ if self.args.verbose_build:
90
+ build_cmd.append('--verbose')
91
+ shell.call(build_cmd)
92
+
93
self.run_swiftsyntax_build_script(target=host_target,
94
command='build')
95
0 commit comments