Victor Hugo Borja
0e8e1f8f84
New feature: asdf extension commands
...
It's possible for plugins to define new asdf commands. This way plugins can extend asdf capabilities or expose utilities related to their managed tool.
For example, a `foo` plugin might expose the command `asdf foo bar` by providing an executable file at `bin/bar`.
If `bin/bar` is a file but has no executable bit set, then its considered a source-able bash script, and will be sourced
with all the functions in `$ASDF_DIR/lib/utils.sh` already loaded.
A good example of this feature is the `nodejs` plugin, where people must import the release team keyring before
installing a nodejs version. People can execute the following command without having to know where exactly is the plugin located.
2019-11-25 02:24:46 -06:00
Victor Borja
fd3469ab60
Merge pull request #575 from klane/install-latest
...
Add support for installing the latest stable version of a tool
2019-11-22 14:18:46 -06:00
Kevin Lane
a3319235f8
Update CHANGELOG with contributions from #575
2019-11-22 11:34:25 -08:00
Kevin Lane
9fd7b83973
Add credit to xxenv-latest in comments
2019-11-22 10:37:53 -08:00
Kevin Lane
c11409583f
Add unit tests for managing latest stable versions
2019-11-22 10:37:53 -08:00
Kevin Lane
62ef77670d
Fix fish completion to say latest returns a stable version
2019-11-22 10:37:53 -08:00
Kevin Lane
48c53f24bd
Add documentation in core commands for managing latest stable versions
2019-11-22 10:37:53 -08:00
Kevin Lane
d2324e36e7
Fix shellcheck errors
2019-11-22 10:37:53 -08:00
Kevin Lane
301cd3db3f
Add support for installing the latest stable version of a tool
2019-11-22 10:37:53 -08:00
Kevin Lane
36ba38d921
Add asdf latest
command to show latest stable version of a tool
2019-11-22 10:37:52 -08:00
Kevin Lane
292d5951bd
Add ability to show available versions that begin with a given string
2019-11-22 10:37:46 -08:00
Daniel Perez
43d93bdb50
Merge pull request #595 from jmaroeder/patch-1
...
Fix completion suggestions for OSX / fish
2019-11-18 23:11:38 +00:00
Trevor Brown
345c545f4e
Merge pull request #592 from asdf-vm/Stratus3D-patch-1
...
Add AppVeyor badge to readme
2019-11-18 08:36:15 -05:00
James Roeder
ac0cd0f4d0
Fix completion for OSX/Fish
...
OSX `sed` is not GNU `sed`, and doesn't support the `\s` whitespace character sequence. This results in autocompletion suggestions including leading spaces, e.g.,
```
$ asdf local python \ \ 3.8.0
```
Using the POSIX compliant `[[:space:]]` sequence is more compatible, and removes the unnecessary spaces on OSX.
2019-11-13 12:22:08 -05:00
Trevor Brown
c3ad7e0357
Update version to 0.7.5
2019-11-04 19:42:50 -05:00
Trevor Brown
a600925736
Prepare for 0.7.5 version
2019-11-04 19:41:50 -05:00
Trevor Brown
e832c150d2
Add AppVeyor badge to readme
2019-11-02 15:11:20 -04:00
Trevor Brown
0bc07ddfbb
Merge pull request #451 from abhishalya/appveyorCI
...
appveyor.yml: Add support for Windows
2019-11-02 10:31:05 -04:00
Trevor Brown
d1f36f2f87
Merge pull request #591 from asdf-vm/fix-sed-for-paths
...
Fix sed command so it handles paths correctly
Fixes #559
2019-10-31 11:57:10 -04:00
Trevor Brown
1580310064
Fix sed command so it handles paths correctly
...
Fixes #559
2019-10-31 10:56:41 -04:00
Victor Borja
e6909fa3cc
Mention asdf-direnv on shims section.
...
Many users might want not to use shims and would prefer the asdf environment be automatically set for them when entering the project directory. Add a link to asdf-direnv plugin README for more details on how to integrate asdf with direnv to achieve this.
2019-10-27 11:29:09 -06:00
Trevor Brown
0ce0ff6de1
Merge pull request #589 from asdf-vm/handle-dashes-in-executable-names
...
Handle dashes in executable names properly
2019-10-24 15:00:15 -04:00
Trevor Brown
72e876b0ae
Handle dashes in executable names properly
2019-10-24 12:05:44 -04:00
Trevor Brown
8594f7ab3f
Merge pull request #585 from asdf-vm/fix-multiple-version-install
...
Fix multiple version install
2019-10-23 08:53:54 -04:00
Trevor Brown
edb5839239
Rename find_version to find_versions since it can return multiple versions
2019-10-22 19:03:05 -04:00
Trevor Brown
cea9b9574f
Install multiple versions when multiple versions are present in a .tool-versions file
2019-10-22 18:58:30 -04:00
Trevor Brown
54ef3befae
Merge pull request #563 from sakuro/add-shell-unset
...
Add --unset option to shell subcommand
2019-09-04 08:39:49 -04:00
OZAWA Sakuro
bc309c0fe5
Remove quotes from --unset option
2019-09-02 11:55:42 +09:00
OZAWA Sakuro
b26f56692d
Surround mutually exclusive arguments with curly braces
2019-09-02 11:55:09 +09:00
Abhinav Kaushlya
7d5d62cdca
appveyor.yml: Add support for Windows
...
This runs the tests on Appveyor CI (basically windows)
so as to keep it from breaking.
Closes https://github.com/asdf-vm/asdf/issues/450
2019-08-24 23:51:20 +05:30
Victor Borja
65e88bb39e
Fix documentation on Shim metadata.
...
Now the comment should include also the plugin version
2019-08-18 11:09:31 -05:00
OZAWA Sakuro
503263a68d
Add --unset option to shell command
2019-08-17 22:46:00 +09:00
Daniel Perez
069db7d6d3
Merge pull request #551 from losvedir/master
...
Fix PATH spacing issue in asdf.fish
2019-08-16 15:50:43 +01:00
Trevor Brown
58eaad8ebd
Update version to 0.7.4
2019-08-14 22:42:05 -04:00
Trevor Brown
cc8c7fb215
Prepare for 0.7.4 release
2019-08-14 22:41:43 -04:00
Trevor Brown
75bd04a464
Merge pull request #560 from asdf-vm/tb/env-path-fix
...
with_plugin_env PATH fix
2019-08-14 20:36:07 -04:00
Trevor Brown
20522bb2e2
Correct bug in path logic that added current directory to PATH
2019-08-14 20:21:57 -04:00
Trevor Brown
549d86e733
Add tests for duplicate colon path issue
2019-08-14 19:31:23 -04:00
Trevor Brown
16e8d34250
Merge pull request #556 from klundberg/fix-plugin-test-issues
...
Fix for asdf plugin-test when installed with brew, and a minor logic fix to a warning
2019-08-13 09:44:28 -04:00
Kevin Lundberg
fd3faf8084
removing unneeded flag on a copy action
2019-07-31 21:42:43 -04:00
Kevin Lundberg
1862ff6eee
Only copy the necessary things to the test area
2019-07-31 21:18:54 -04:00
Kevin Lundberg
c77ee57fe2
Fix for asdf plugin-test when installed with brew, and a minor logic fix to a warning
2019-07-30 23:33:07 -04:00
Daniel Perez
f80b66c2a4
Avoid adding brew
command to fish init code
2019-07-23 13:34:51 +01:00
Daniel Perez
07211e3c37
Merge pull request #553 from olets/zshrc-optimization
...
Docs: Homebrew setup: do not add brew commands to the shell profile
2019-07-23 13:26:49 +01:00
Daniel Perez
01f8905b66
Merge pull request #554 from lee-dohm/brew-fish
...
Add Homebrew instructions for fish shell
2019-07-23 13:25:16 +01:00
Gabe Durazo
0d2648c7f4
A different approach
2019-07-22 18:44:32 -05:00
Lee Dohm
d9a16e4f65
Add Homebrew instructions for fish shell
2019-07-22 10:34:44 -07:00
Henry Bley-Vroman
a72ceef299
Docs: Homebrew setup: do not add brew commands to the shell profile
...
The recommended Homebrew setup required adding two `brew --prefix` commands
to the shell profile. `brew` commands canbe slow, so this introduced a notable
lag when sourcing the shell profile.
Homebrew paths do not change, so we can determine the necessary paths one time
during setup and use static paths in the shell profile.
2019-07-22 10:12:44 -04:00
Daniel Perez
4149bf58ee
Merge pull request #546 from spencerdcarlson/master
...
add quite flag to git clone
2019-07-22 14:13:09 +01:00
Daniel Perez
7b0035b720
Merge pull request #537 from HeroicEric/add-homebrew-zsh-instructions
...
Add Homebrew instructions for ZSH
2019-07-22 14:06:18 +01:00