We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When reading configuration or dependency lists, gupm should read the GUPM_ENV environment variable, and choose a config to override the default one.
{ "config" | "dependencies": { "default" : { "brew://node": "9" }, "ci" : { "brew://node": "11" }, "dev": { "brew://node": "12" } } }
With this configuration, this will install node@12 :
g env GUPM_ENV=dev g make
The differents values are: default, overwritten by :
You can also switch by OS:
{ "config" | "dependencies": { "default" : { "brew://node": "9" }, "windows" : { "brew://node": "11" }, }
And finally, by OS, by env:
{ "config" | "dependencies": { "default" : { "brew://node": "9" }, "dev@windows" : { "brew://node": "11" }, }
The order of overwrite follows the rule of most-precise-first :
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When reading configuration or dependency lists, gupm should read the GUPM_ENV environment variable, and choose a config to override the default one.
With this configuration, this will install node@12 :
The differents values are: default, overwritten by :
OS
You can also switch by OS:
And finally, by OS, by env:
The order of overwrite follows the rule of most-precise-first :
The text was updated successfully, but these errors were encountered: