Commit Graph

1258 Commits

Author SHA1 Message Date
Trevor Brown
e4a9ad6e58
Merge pull request #649 from asdf-vm/tb/misc-test-improvements
Misc. Test Improvements
2020-02-05 07:51:42 -05:00
Trevor Brown
1dc939bb52 Simplify asdf_data_dir function 2020-02-05 07:47:02 -05:00
Trevor Brown
6d8d77f51d Unset ASDF_DIR variable before running tests 2020-02-04 11:23:09 -05:00
Trevor Brown
f787b719ac
Merge pull request #640 from asdf-vm/improve-export-shell
Fix asdf shell xx --unset for fish
2020-02-04 08:17:54 -05:00
Trevor Brown
79ffc55f82 Add another test for asdf_data_dir function 2020-01-31 14:03:33 -05:00
Jesse Jackson
3a4342a6be Update examples using subcommands
Replace references to aliases in the form of
`command-subcommand` with `command subcommand`
2020-01-30 15:59:05 -06:00
Trevor Brown
94db44b259
Merge pull request #644 from asdf-vm/tb/fix-hanging-test
Fix hanging 'asdf update is a noop for non-git repos' test
2020-01-30 08:04:45 -05:00
Trevor Brown
84ab5b7753 Fix hanging 'asdf update is a noop for non-git repos' test 2020-01-29 09:58:59 -05:00
Trevor Brown
2a1c7c38aa
Merge pull request #637 from asdf-vm/tb/prefer-open-source
Prefer open source distros over closed source distros in build
2020-01-29 08:07:29 -05:00
Trevor Brown
a6b8996f2a Address shellcheck warnings 2020-01-29 08:04:39 -05:00
Trevor Brown
a1f76f7613
Merge pull request #643 from mikeroll/fix-plugin-add-completion
Fix bash completion for `plugin-add`
2020-01-29 08:01:02 -05:00
Mikhail Bulash
0b169e15b5 Fix bash completion for plugin-add 2020-01-28 12:35:36 +03:00
Daniel Perez
e53de6726f Fix asdf shell xx --unset for fish 2020-01-25 20:42:43 +00:00
Trevor Brown
7d3fb89608 Prefer open source distros over closed source distros in build 2020-01-15 10:28:26 -05:00
Trevor Brown
33a3111dcb
Merge pull request #627 from deiga/fix-test-errors
Fixes tests in master
2020-01-06 09:40:19 -05:00
Trevor Brown
bde7ae5393
Merge pull request #631 from maxnordlund/patch-1
Fix small typo `git` -> `asdf`
2020-01-03 08:59:20 -05:00
Max Nordlund
40600ec903
Fix typo 2020-01-02 23:05:58 +01:00
Trevor Brown
3f7bdabf91
Merge pull request #629 from lalloni/remove-sourced-scripts-shebang
Remove shebang lines of sourced scripts
2020-01-02 11:16:43 -05:00
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