Skip to content

Commit c63059e

Browse files
committed
s/build-path/scratch-path
1 parent 638463d commit c63059e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/SwiftDriverTests/IntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ final class IntegrationTests: IntegrationTestCase {
8484
let buildPath = path.appending(component: "build")
8585
let args = [
8686
"swift", "build", "--package-path", packageDirectory.pathString,
87-
"--build-path", buildPath.pathString
87+
"--scratch-path", buildPath.pathString
8888
]
8989
let extraEnv = [ "SWIFT_EXEC": compiler.pathString]
9090

Utilities/build-script-helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def swiftpm_bin_path(swift_exec, swiftpm_args, env=None):
7272
def get_swiftpm_options(args):
7373
swiftpm_args = [
7474
'--package-path', args.package_path,
75-
'--build-path', args.build_path,
75+
'--scratch-path', args.build_path,
7676
'--configuration', args.configuration,
7777
]
7878

@@ -628,7 +628,7 @@ def add_common_args(parser):
628628
help="A JSON SPM config file with Swift flags for cross-compilation")
629629
parser.add_argument('--ninja-bin', metavar='PATH', help='ninja binary to use for testing')
630630
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')
632632
parser.add_argument('--foundation-build-dir', metavar='PATH', help='Path to the Foundation build directory')
633633
parser.add_argument('--dispatch-build-dir', metavar='PATH', help='Path to the Dispatch build directory')
634634
parser.add_argument('--lit-test-dir', metavar='PATH', help='the test dir in the Swift build directory')

0 commit comments

Comments
 (0)