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

.sdkrc to store versions for specific directory #463

Closed
musketyr opened this issue Aug 30, 2016 · 8 comments
Closed

.sdkrc to store versions for specific directory #463

musketyr opened this issue Aug 30, 2016 · 8 comments

Comments

@musketyr
Copy link

I would be great if there is alternative to .nvmrc file in NVM.

Given .sdkrc file in current directory with following content

grails=3.2.0.M2

When I run sdk use
Then grails version 3.2.0.M2 is downloaded if not present yet
And grails version 3.2.0.M2 is used in current shell

@marc0der
Copy link
Member

This is already mostly supported in the sdkman-extensions project by way of the sdk switch command. Feel free to give it a try and/or raise any PRs on this to improve it.

@musketyr
Copy link
Author

this looks it's doing way too much magic and does not work for every candidate supported. I would prefer having separate file. let's keep this option open.

@marc0der
Copy link
Member

For sure, it's not in a great state.
Is that you volunteering to write a new extension? :-)

@marc0der
Copy link
Member

Moving this issue over to the sdkman-extensions project, as this will not be implemented in the CLI.

@marc0der
Copy link
Member

Issue moved to sdkman/sdkman-extensions #9 via ZenHub

@musketyr
Copy link
Author

@marc0der I would love to, but out of time at the moment 😿

@musketyr
Copy link
Author

also my bash skills are not that deep :-(

@marc0der
Copy link
Member

Sad to hear, but will be waiting here for when you are skilled up in bash! 😄

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