We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7361b1 + 73f2b55 commit 1276628Copy full SHA for 1276628
project_future.py
@@ -272,7 +272,7 @@ def clean_swift_package(path, swiftc, sandbox_profile,
272
if swift_branch == 'swift-3.0-branch':
273
command = [swift, 'build', '-C', path, '--clean']
274
else:
275
- command = [swift, 'package', '-C', path, 'clean']
+ command = [swift, 'package', '--package-path', path, 'clean']
276
if (swift_branch not in ['swift-3.0-branch',
277
'swift-3.1-branch']):
278
command.insert(2, '--disable-sandbox')
@@ -293,7 +293,7 @@ def build_swift_package(path, swiftc, swift_version, configuration,
293
env = os.environ
294
env['DYLD_LIBRARY_PATH'] = get_stdlib_platform_path(swiftc, 'macOS')
295
env['SWIFT_EXEC'] = override_swift_exec or swiftc
296
- command = [swift, 'build', '-C', path, '--verbose',
+ command = [swift, 'build', '--package-path', path, '--verbose',
297
'--configuration', configuration]
298
299
0 commit comments