@@ -459,7 +459,7 @@ def __get_swiftpm_invocation(self, package_dir: str) -> List[str]:
459
459
invocation .append ("--verbose" )
460
460
return invocation
461
461
462
- def buildProduct (self , product_name : str ) -> None :
462
+ def build_product (self , product_name : str ) -> None :
463
463
print ("** Building product " + product_name + " **" )
464
464
self .__build (PACKAGE_DIR , product_name )
465
465
@@ -754,13 +754,13 @@ def build_command(args: argparse.Namespace) -> None:
754
754
)
755
755
# Until rdar://53881101 is implemented, we cannot request a build of multiple
756
756
# targets simultaneously. For now, just build one product after the other.
757
- builder .buildProduct ("SwiftSyntax" )
758
- builder .buildProduct ("SwiftSyntaxParser" )
759
- builder .buildProduct ("SwiftSyntaxBuilder" )
757
+ builder .build_product ("SwiftSyntax" )
758
+ builder .build_product ("SwiftSyntaxParser" )
759
+ builder .build_product ("SwiftSyntaxBuilder" )
760
760
761
761
# Build examples
762
- builder .buildProduct ("AddOneToIntegerLiterals" )
763
- builder .buildProduct ("CodeGenerationUsingSwiftSyntaxBuilder" )
762
+ builder .build_product ("AddOneToIntegerLiterals" )
763
+ builder .build_product ("CodeGenerationUsingSwiftSyntaxBuilder" )
764
764
except subprocess .CalledProcessError as e :
765
765
fail_for_called_process_error ("Building SwiftSyntax failed" , e )
766
766
@@ -776,7 +776,7 @@ def test_command(args: argparse.Namespace) -> None:
776
776
disable_sandbox = args .disable_sandbox ,
777
777
)
778
778
779
- builder .buildProduct ("lit-test-helper" )
779
+ builder .build_product ("lit-test-helper" )
780
780
781
781
run_tests (
782
782
toolchain = args .toolchain ,
0 commit comments