Extend "show-bin-path" to print product output
Opened this issue · 0 comments
rauhul commented
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