Commit Graph

1240 Commits

Author SHA1 Message Date
Pablo Lalloni
95e0f534e6 Defaults to empty ASDF_DATA_DIR
If ASDF_DATA_DIR variable is undefined it will assign an empty value to
it so bash instances running with set -o nounset can run the script
without error.
2019-12-31 09:58:05 -03:00
Pablo Lalloni
5bad5f4214 Remove shebang lines of sourced scripts 2019-12-31 09:48:56 -03:00
Timo Sand
a3bbb0b641
Adds fetching of tags 2019-12-31 09:54:52 +02:00
Timo Sand
09db5d6bfc
Switches to actually use latest instead of first 2019-12-30 23:25:56 +02:00
Timo Sand
340b027b5f
Removes echo overcomplication 2019-12-30 21:03:38 +02:00
Daniel Perez
550f286855
Merge pull request #624 from imbsky/patch-1
Bump checkout action version
2019-12-30 13:33:49 +00:00
BSKY
40dea1e096
Update workflow.yml 2019-12-24 21:16:30 +09:00
Victor Borja
c34b7ec98e
Merge pull request #622 from CodeFoodPixels/clearer-warning-shim-plugin
Fix issue with preset version warning assuming that the shim name and plugin name are the same
2019-12-22 00:38:45 -06:00
Jonathan Mast
069c74f45e
Ignore shim directory for executable lookups
Previously, the shims directory was only excluded for system versions,
which meant that `asdf exec` would fall back to a shim if the install
didn't have the desired binary. If the shims are up to date this isn't a
problem since we check the metadata, but it causes issues if those are
out of sync for whatever reason.

I've checked all the uses of this function and I'm not seeing anywhere
we should need the old behavior.
2019-12-21 15:24:55 -05:00
Jonathan Mast
67e0e50445
Run config tests in BATS_TMPDIR for clean environment
This avoids issues with it picking up config files from parent
directories.
2019-12-21 14:22:32 -05:00
Luke Bonaccorsi
c728018627 Fix issue with preset version warning assuming that the shim name and plugin name are the same 2019-12-20 17:26:00 +00:00
Victor Hugo Borja
6207e42cec Update version to 0.7.6 2019-12-15 23:09:57 -06:00
Victor Hugo Borja
39d3773f57 Release 0.7.6 2019-12-15 23:09:49 -06:00
Victor Borja
ff57001691
Merge pull request #609 from tejanium/clearer-warning
Clarify instructions when <version> of a <shim_name> is missing.
2019-12-13 12:02:16 -06:00
Victor Borja
8826dc7a52
Merge pull request #614 from aocole/patch-1
Update installation for Zsh on macOS Catalina
2019-12-09 22:25:01 -06:00
Andrew Cole
5bb651af58
Update installation for Zsh on macOS Catalina 2019-12-09 11:17:44 -08:00
Victor Borja
608098cd83
Merge pull request #612 from superhawk610/patch-1
docs: update plugin-* usage
2019-12-08 23:58:23 -06:00
Aaron Ross
5ca74a8012
docs: update plugin-* usage 2019-12-08 21:18:09 -05:00
Teja Sophista
026aa78f35 Output different warning for empty and missing version
1. when `.tool-versions` is not set
2. when `.tool-versions` set version that is not installed
2019-12-04 14:18:58 +00:00
Victor Borja
cc004b8dbb
Merge pull request #605 from deiga/patch-1
Fix shell compatibility with ZSH
2019-12-03 11:16:10 -06:00
Victor Hugo Borja
5ab01f49df Allow eval only on asdf function at lib/asdf.sh.
It's needed for `asdf shell` command.
2019-12-03 11:04:04 -06:00
Teja Sophista
c9014666e2 Clarify instructions when <version> of a <shim_name> is missing. 2019-12-03 14:21:31 +00:00
Victor Borja
12aae35330
Merge pull request #608 from jmegs/patch-1
Add instructions to use latest branch with Homebrew
2019-12-02 10:03:59 -06:00
John Meguerian
743035d0d3
Add instructions to use latest branch with Homebrew
Related to #598 
this adds a line of instruction for how to install with homebrew and pull in the latest changes from master.
2019-12-02 11:00:08 -05:00
Timo Sand
d76f639c75
Fix shell compatibility with ZSH
`command eval` does not work in ZSH
2019-12-01 20:41:28 +01:00
Victor Borja
608d46891d
Add link to our github actions repo. 2019-11-30 18:40:43 -06:00
Victor Hugo Borja
41461b22df Mention asdf-vm/actions for testing plugins 2019-11-30 18:30:26 -06:00
Victor Hugo Borja
04b61ae62c Support latest:<version> on plugin-test 2019-11-30 15:13:41 -06:00
Victor Hugo Borja
c986bc9726 Fix plugin update command to check for at least one arg 2019-11-30 15:03:30 -06:00
Victor Borja
83ce387a22
Merge pull request #604 from asdf-vm/plugin-update-to-branch
Improvements to `asdf plugin` commands.
2019-11-30 14:21:03 -06:00
Victor Hugo Borja
3d3595c7a3 Improvements to asdf plugin commands. 2019-11-30 14:18:37 -06:00
Victor Hugo Borja
a64f94dacc Remove travis CI. Now using Github Actions is much faster. 2019-11-29 10:45:36 -06:00
Victor Hugo Borja
1d48d8dbfb Dont use pull on command-update 2019-11-29 10:42:22 -06:00
Victor Borja
b3e264e90d
Merge pull request #603 from asdf-vm/gh-actions
Enable github actions.
2019-11-29 10:25:58 -06:00
Victor Hugo Borja
f0bdbe1d89 fix shellcheck on command-help 2019-11-29 10:20:03 -06:00
Victor Hugo Borja
32ec26d316 Fix fish ppa for ubuntu 2019-11-29 10:18:49 -06:00
Victor Hugo Borja
b8dc5f1604 Run shfmt on bash files 2019-11-29 10:15:38 -06:00
Victor Hugo Borja
ab63d72c1b Test using github actions 2019-11-29 10:07:41 -06:00
Victor Hugo Borja
3f0fe57db9 Let asdf help show plugin commands when available.
Also fix `asdf list all` to work as subcommand. Fixes #602
2019-11-29 07:42:55 -06:00
Victor Hugo Borja
100917c0e4 Add more commands to documentation. 2019-11-27 12:50:31 -06:00
Victor Borja
ced617fd64
Update core-commands.md 2019-11-27 12:41:14 -06:00
Victor Borja
4eede63b53
Merge pull request #601 from asdf-vm/commands
Subcommand CLI support.
2019-11-27 12:39:31 -06:00
Victor Hugo Borja
1be6614aa7 Add shellcheck source comments 2019-11-27 12:29:04 -06:00
Victor Hugo Borja
83dc1712e3 Change to test HOME on test setup 2019-11-27 12:25:34 -06:00
Victor Hugo Borja
367886e47d Update example commands to not use hypen and use subcommand CLI. 2019-11-27 12:25:34 -06:00
Victor Hugo Borja
64d7cac9fd Update documentation 2019-11-27 12:18:00 -06:00
Victor Hugo Borja
e968fe6142 Subcommand-aware command line interface. 2019-11-27 12:17:17 -06:00
Victor Borja
832a868a0c
Merge pull request #600 from asdf-vm/plugin-test-use-latest
Make `asdf plugin test` determine plugin version with `asdf latest`
2019-11-26 22:35:27 -06:00
Victor Hugo Borja
4939e24c90 Make asdf plugin test determine plugin version with asdf latest
Fixes #541
2019-11-26 22:23:27 -06:00
Victor Borja
6fa01a6d29
Merge pull request #599 from asdf-vm/show-git-revision
`asdf --version` shows git-revision when asdf_dir is a git clone.
2019-11-26 22:18:10 -06:00