You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add XDG Base Directory Specification support (#7386)
### Motivation:
As discussed in #6204, users would like to have a clean home directory.
And in the discussions following the merge of #3430, it seems there is a
willingness to adhere to the XDG spec, and support `~/.config/swiftpm`.
### Modifications:
If the `XDG_CONFIG_HOME` environmental variable is defined, use
`$XDG_CONFIG_HOME/swiftpm` as the root `dotSwiftPM` directory.
### Result:
The symlinks that were previously stored in `~/.swiftpm` are now stored
in `$XDG_CONFIG_HOME/swiftpm` when this variable is defined, therefore
not cluttering the home directory of users.
Closes#6204
---------
Co-authored-by: Max Desiatov <[email protected]>
0 commit comments