-
Notifications
You must be signed in to change notification settings - Fork 298
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 OS-specific BAZELISK_HOME #474
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
@fweikert could you take a look? Thanks in advance :) |
@fweikert - could you please have a look on that change ? |
@katre can you maybe help here ? |
README.md
Outdated
@@ -195,6 +198,8 @@ Configuration variables are evaluated with precedence order. The preferred value | |||
* Variables defined in the workspace root `.bazeliskrc` | |||
* Variables defined in the user home `.bazeliskrc` | |||
|
|||
Additionally, the bazelisk home directory is also evaluated in precedence order. The preffered value is OS-specific e.g. `BAZELISK_HOME_LINUX`, then we fall back to `BAZELISK_HOME`. |
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.
nit: preferred
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.
thanks for catching it, fixed
README.md
Outdated
@@ -195,6 +198,8 @@ Configuration variables are evaluated with precedence order. The preferred value | |||
* Variables defined in the workspace root `.bazeliskrc` | |||
* Variables defined in the user home `.bazeliskrc` | |||
|
|||
Additionally, the bazelisk home directory is also evaluated in precedence order. The preffered value is OS-specific e.g. `BAZELISK_HOME_LINUX`, then we fall back to `BAZELISK_HOME`. |
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.
Bazelisk
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.
fixed
BAZELISK_HOME
should be set as absolute path, but all supported OSes use different folder structure. This might be a problem if we want to globally setBAZELISK_HOME
for all developers.Therefore we want to propose a change to add support for OS-specific
BAZELISK_HOME
, for exampleBAZELISK_HOME_WINDOWS
.