-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
Add support for mise.toml #700
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR, it looks good, just one small thing to address
@@ -130,6 +132,11 @@ function parseRubyEngineAndVersion(rubyVersion) { | |||
const rubyLine = toolVersions.split(/\r?\n/).filter(e => /^ruby\s/.test(e))[0] | |||
rubyVersion = rubyLine.match(/^ruby\s+(.+)$/)[1] | |||
console.log(`Using ${rubyVersion} as input from file .tool-versions`) | |||
} else if (rubyVersion === 'mise.toml') { // Read from mise.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://mise.jdx.dev/configuration.html has 6 possible locations 😅
Hopefully mise.toml
is the most common one, I don't really want to logic to search all those.
So yeah, let's look for just mise.toml
for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i see, you are right 😅 especially the conf.d would be crap 😁
No description provided.