8000 Use swift-sdk commands instead of file ops by kabiroberai · Pull Request #40 · xtool-org/xtool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use swift-sdk commands instead of file ops #40

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

Merged
merged 2 commits into from
May 15, 2025
Merged

Use swift-sdk commands instead of file ops #40

merged 2 commits into from
May 15, 2025

Conversation

kabiroberai
Copy link
Member
@kabiroberai kabiroberai commented May 15, 2025

We can't assume it's always ~/.swiftpm/swift-sdks because SwiftPM also looks at $XDG_CONFIG_HOME as of swiftlang/swift-package-manager#7386. Rather than replicating this logic (which may be brittle), invoke swift sdk install et al directly.

Also adds an xtool sdk status command that shows whether the SDK is installed.

Fixes #35

@kabiroberai kabiroberai merged commit 54d03f5 into main May 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swift SDK won't configure on Arch Linux
1 participant
0