Skip to content

Use platform-specific configuration directories to store swiftly files #13

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

Closed
patrickfreed opened this issue Sep 29, 2022 · 1 comment · Fixed by #26
Closed

Use platform-specific configuration directories to store swiftly files #13

patrickfreed opened this issue Sep 29, 2022 · 1 comment · Fixed by #26

Comments

@patrickfreed
Copy link
Contributor

The design and current implementation assume that swiftly, its configuration, and its toolchains will be stored in ~/.swiftly. This ignores certain platform-specific conventions, such as the XDG base directory specification, which indicates it should be stored in ~/.local/share/swiftly. We should adopt these conventions where possible.

@tomerd
Copy link

tomerd commented Sep 29, 2022

in SwiftPM we use the platform idiomatic directories and then create symlinks from the home directory, since many users expect it there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants