@@ -142,13 +142,13 @@ def should_run_action(action_name, selected_actions):
142
142
return False
143
143
144
144
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' ]
146
146
check_call (args , env = env , verbose = verbose )
147
147
148
148
def get_swiftpm_options (action , args ):
149
149
swiftpm_args = [
150
150
'--package-path' , args .package_path ,
151
- '--build -path' , args .build_dir ,
151
+ '--scratch -path' , args .build_dir ,
152
152
'--configuration' , args .configuration ,
153
153
]
154
154
@@ -252,7 +252,7 @@ def docc_bin_path(swift_exec, args, env, verbose):
252
252
'build' ,
253
253
'--show-bin-path' ,
254
254
'--package-path' , args .package_path ,
255
- '--build -path' , args .build_dir ,
255
+ '--scratch -path' , args .build_dir ,
256
256
'--configuration' , args .configuration ,
257
257
'--product' , 'docc'
258
258
]
0 commit comments