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

Inaccurate swift-format executable location info in README #529

Closed
AnthonyLatsis opened this issue May 18, 2023 · 2 comments
Closed

Inaccurate swift-format executable location info in README #529

AnthonyLatsis opened this issue May 18, 2023 · 2 comments

Comments

@AnthonyLatsis
Copy link

Description

Once the build has finished, the swift-format executable will be located at .build/release/swift-format

This info seems to be outdated. In my case the executable is located at .build/x86_64-apple-macosx/release/swift-format.

Environment

I tried building with both Swift 5.7.2 and Swift 5.9-dev (316dfaffa1a387d).

@allevato
Copy link
Member

Does SwiftPM not generate symlinks in .build for you? Mine (under Swift 5.8 and earlier) have always generated something like the following:

$ ls -l .build
drwxr-xr-x@ 5 allevato  primarygroup     160 May 18 14:04 arm64-apple-macosx
...
lrwxr-xr-x@ 1 allevato  primarygroup      26 May 18 14:04 release -> arm64-apple-macosx/release

@AnthonyLatsis
Copy link
Author

Oops, it does indeed. I think I missed the symlink because it got generated after only a successful build.

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

No branches or pull requests

2 participants