Trevor Brown
26a3815948
feat(golang-rewrite): implement asdf env command
...
* Create `CallbackPath` method on `Plugin` struct
* Correct behavior of `asdf shimversions` command
* Update `shims.FindExecutable` function to return plugin
* Create `repotest.WritePluginCallback` function
* Create `execenv` package for invoking `exec-env` plugin callback
* Make `MapToSlice` a public function
* Return resolved version from `shims.FindExecutable` function
* Create `shims.ExecutablePaths` function
* Enable `shim_env_command.bats` tests
* Implement `asdf env` command
2024-12-18 11:32:03 -05:00
Edwin Kofler
ffa018763c
chore: Fix ShellCheck errors in tests ( #1452 )
2023-01-26 00:37:21 +11:00
Edwin Kofler
28b348a041
chore: Fix ShellCheck errors in tests ( #1450 )
2023-01-23 15:29:18 +11:00
Edwin Kofler
b5e981cf1d
chore: Fix ShellCheck errors in tests ( #1449 )
2023-01-23 10:36:47 +11:00
Edwin Kofler
998180e362
chore: Fix ShellCheck errors in tests ( #1443 )
2023-01-22 21:55:19 +11:00
Edwin Kofler
d81b81f9de
fix: Remove ==
inside [
( #1421 )
...
* lint(checkstyle): Miscellaneous tweaks
* lint(checkstyle): Add 'no-double-equals' rule
* lint: Remove double equals from `[`
* chore: Remove final double equals
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2023-01-14 08:18:44 -05:00
James Hegedus
21bc411915
ci: add latest OSs to testing matrix, bump BATS, shfmt, shellcheck ( #1260 )
...
* ci: add latest OSs to testing matrix
* ci: bump bats & shellcheck & shfmt
* chore: format with latest shfmt
2022-06-24 19:20:27 +10:00
Trevor Brown
549d86e733
Add tests for duplicate colon path issue
2019-08-14 19:31:23 -04:00
Victor Hugo Borja
4b40e80776
Test that command being executed can see other tools shims on path
2019-01-23 22:18:18 -06:00
Victor Hugo Borja
9cac0ac50a
Faster exec times. Load commands only when nedded.
...
When testing, use `run asdf` to actually test the command
as the user would invoke it, so that we might catch possible
errors on `bin/asdf`.
2019-01-20 02:13:20 -06:00
Victor Hugo Borja
8927a4a09f
Add asdf env
command
2019-01-19 20:59:27 -06:00