Skip to content
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

Extend "show-bin-path" to print product output #7582

Open
rauhul opened this issue May 21, 2024 · 0 comments
Open

Extend "show-bin-path" to print product output #7582

rauhul opened this issue May 21, 2024 · 0 comments

Comments

@rauhul
Copy link
Contributor

rauhul commented May 21, 2024

Description

swift build --show-bin-path currently ignores any --product argument and always prints the parent directory. It would be better if when passed --product it printed the path to the built product.

Expected behavior

$ swift build --product SVD2LLDB --show-bin-path
/Volumes/Developer/org.swift/swift-mmio/.build/arm64-apple-macosx/debug/libSVD2LLDB.dylib

Actual behavior

$ swift build --product SVD2LLDB --show-bin-path
/Volumes/Developer/org.swift/swift-mmio/.build/arm64-apple-macosx/debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant