Skip to content

Commit fd523b2

Browse files
authored
s/build-path/scratch-path (#413)
1 parent 7e11c47 commit fd523b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-script-helper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,13 @@ def should_run_action(action_name, selected_actions):
142142
return False
143143

144144
def update_swiftpm_dependencies(package_path, swift_exec, build_path, env, verbose):
145-
args = [swift_exec, 'package', '--package-path', package_path, '--build-path', build_path, 'update']
145+
args = [swift_exec, 'package', '--package-path', package_path, '--scratch-path', build_path, 'update']
146146
check_call(args, env=env, verbose=verbose)
147147

148148
def get_swiftpm_options(action, args):
149149
swiftpm_args = [
150150
'--package-path', args.package_path,
151-
'--build-path', args.build_dir,
151+
'--scratch-path', args.build_dir,
152152
'--configuration', args.configuration,
153153
]
154154

@@ -252,7 +252,7 @@ def docc_bin_path(swift_exec, args, env, verbose):
252252
'build',
253253
'--show-bin-path',
254254
'--package-path', args.package_path,
255-
'--build-path', args.build_dir,
255+
'--scratch-path', args.build_dir,
256256
'--configuration', args.configuration,
257257
'--product', 'docc'
258258
]

0 commit comments

Comments
 (0)