-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add swift experimental-destination install
subcommand
#6023
Conversation
let cwd = fileSystem.currentWorkingDirectory, | ||
let bundlePath = try? AbsolutePath(validating: bundlePathOrURL, relativeTo: cwd) | ||
{ | ||
try fileSystem.move(from: bundlePath, to: destinationsDirectory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move or copy?
|
||
let observabilitySystem = ObservabilitySystem( | ||
SwiftToolObservabilityHandler(outputStream: stdoutStream, logLevel: .warning) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is a repeated pattern we can potential define a SwiftToolObservabilitySystem that takes optional output stream and log level but defaults to stdout and warn
a192041
to
a48658d
Compare
a48658d
to
1299e15
Compare
b52f9d4
to
3e91487
Compare
47191c8
to
219ede1
Compare
3c19a23
to
ad41134
Compare
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
…xd/destination-install-subcommand # Conflicts: # Sources/SPMTestSupport/MockHashAlgorithm.swift
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci test Windows |
@swift-ci test Windows |
@swift-ci smoke test |
@swift-ci test Windows |
Depends on #6127.
Motivation:
Cross-compilation destinations pitch includes
install
subcommand for installing artifact bundles.Modifications:
Added new
InstallDestination
subcommand that takes a single argument for a bundle to install from.Result:
swift experimental-destination install
is available for installing destination bundles.