-
Notifications
You must be signed in to change notification settings - Fork 58
Use $XDG_CONFIG_HOME to load config #119
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
base: master
Are you sure you want to change the base?
Changes from 5 commits
d64bef8
7b5c407
83bbd35
727b450
33df694
c139602
422ee41
79271a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,3 +5,4 @@ Gemfile.lock | |
| .env | ||
| coverage | ||
| tmp | ||
| /vendor/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,9 +47,13 @@ these locations: | |
|
|
||
| * `~/.gem_release/config.yml` | ||
| * `~/.gem_release.yml` | ||
| * `$XDG_CONFIG_HOME/.gem_release/config.yml` | ||
| * `$XDG_CONFIG_HOME/.gem_release.yml` | ||
| * `./.gem_release/config.yml` | ||
| * `./.gem_release.yml` | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it might be a good time to specify the order (local > XDG > global
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @PikachuEXE, I changed the hardcoded list of config file locations to code execution. Let me know what you think. Could you also run tests again, please? I find it hard to reproduce locally. Ruby 2.3 is ancient by now. ;) |
||
|
|
||
| `$XDG_CONFIG_HOME` defaults to `~/.config` if not set. | ||
|
|
||
| Config files must be in the [YAML](http://www.yaml.org/) format, and list | ||
| options per command. Common options can be set on the root. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.