@@ -72,7 +72,7 @@ def swiftpm_bin_path(swift_exec, swiftpm_args, env=None):
72
72
def get_swiftpm_options (args ):
73
73
swiftpm_args = [
74
74
'--package-path' , args .package_path ,
75
- '--build -path' , args .build_path ,
75
+ '--scratch -path' , args .build_path ,
76
76
'--configuration' , args .configuration ,
77
77
]
78
78
@@ -628,7 +628,7 @@ def add_common_args(parser):
628
628
help = "A JSON SPM config file with Swift flags for cross-compilation" )
629
629
parser .add_argument ('--ninja-bin' , metavar = 'PATH' , help = 'ninja binary to use for testing' )
630
630
parser .add_argument ('--cmake-bin' , metavar = 'PATH' , help = 'cmake binary to use for building' )
631
- parser .add_argument ('--build -path' , metavar = 'PATH' , default = '.build' , help = 'build in the given path' )
631
+ parser .add_argument ('--scratch -path' , metavar = 'PATH' , default = '.build' , help = 'build in the given path' )
632
632
parser .add_argument ('--foundation-build-dir' , metavar = 'PATH' , help = 'Path to the Foundation build directory' )
633
633
parser .add_argument ('--dispatch-build-dir' , metavar = 'PATH' , help = 'Path to the Dispatch build directory' )
634
634
parser .add_argument ('--lit-test-dir' , metavar = 'PATH' , help = 'the test dir in the Swift build directory' )
0 commit comments