You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Rename BASE_DIR environment variable to ASDF_DEV_BASE_DIR
New users to `asdf` who wish to contribute will run into the following
errors when running `./scripts/test.bash`:
```
✗ help should show dummy plugin help specific to version when version is present [7]
(from function `setup_asdf_dir' in file test/test_helpers.bash, line 16,
from function `setup' in test file test/help_command.bats, line 6)
`setup_asdf_dir' failed
mkdir: cannot create directory ‘/w spacetest_help_should_show_dummy_plugin_help_specific_to_version_when_version_is_present’: Permission denied
```
This is due to paths within the various test suites relying on the
`BASE_DIR` environment variable, which is not set by default.
This pull request adds the following:
* Renames `BASE_DIR` to `ASDF_DEV_BASE_DIR` to clarify intent of the
variable.
* Modifies `scripts/test.bash` to correctly export `ASDF_DEV_BASE_DIR`
Note: I am a long-time asdf user, who would like to contribute to the
project and noticed this while setting up my dev environment on an
up-to-date Arch Linux system. My intention is to work on this issue:
#2042
* Rename `BASE_DIR` to `ASDF_DEV_BASE_DIR` to clarify intent of variable.
* Modify `test.bash` to export `ASDF_DEV_BASE_DIR`
#@test "asdf plugin update should pull latest default branch (refs/remotes/origin/HEAD) for plugin even if the default branch contains a forward slash" {
0 commit comments