Commit Graph

618 Commits

Author SHA1 Message Date
Victor Borja
d9f65187a1 Adding strict mode to all of lib 2017-10-25 17:23:48 -05:00
Daniel Perez
a44ec2779a Fix edge case when looking for .asdf-version
cwd can potentially be a symlink, which breaks asdf logic.
The following command will fail to resolve the path correctly:

    env - PWD=/proc/self/cwd PATH=$HOME/.asdf/shims:/bin ruby --version

This first resolves the real path of cwd before continuing to search
for a .tool-versions file
2017-10-25 19:51:13 +09:00
Daniel Perez
7e5789adb7 Merge pull request #245 from rstacruz/patch-1
Readme: format install instructions better
2017-10-25 19:03:34 +09:00
Rico Sta. Cruz
4723ad3bf2 Merge branch 'master' into patch-1 2017-10-25 17:39:36 +08:00
vic
31030bfb11 Merge pull request #246 from lucascaton/patch-1
Rename OS X to macOS
2017-10-24 23:37:00 -05:00
Lucas Caton
78cedab51a Rename OS X to macOS 2017-10-25 13:03:03 +10:00
vic
00e7644464 Update CHANGELOG.md 2017-10-24 18:32:45 -05:00
vic
4bc7b4a9fc Merge pull request #243 from skirino/replace_hyphen_with_colon_in_ref_prefix_of_list_command_output
Replace `ref-` prefix in output of list command with `ref:`
2017-10-24 18:30:18 -05:00
Rico Sta. Cruz
160db6c04f Readme: format install instructions better 2017-10-24 16:33:20 +08:00
Trevor Brown
8946fbd3c3 Add documentation on uninstalling asdf. 2017-10-23 11:06:48 +03:00
Shunsuke Kirino
9ba0a5cc2d Replace ref- prefix in output of list command with ref: 2017-10-23 11:23:51 +09:00
vic
8a2fd85529 Update CHANGELOG.md 2017-10-18 02:25:53 -05:00
Daniel Perez
e2094db465 Merge pull request #237 from DustinChaloupka/install-parent-tool-versions
Add installing from a parent directory's .tool-versions
2017-10-17 23:28:37 +09:00
Trevor Brown
2171f48f0f Merge pull request #231 from hugopeixoto/use-origin-when-updating-tags
Use origin when updating tags
2017-10-14 17:23:16 +03:00
DustinChaloupka
320835ba7e
Declare and assign variable separately 2017-10-10 13:31:15 -05:00
DustinChaloupka
05a7446619
Add installing from a parent directory's .tool-versions 2017-10-10 12:02:42 -05:00
Trevor Brown
b076fe80bd Merge pull request #223 from CoffeeAndCode/shellcheck
Shellcheck
2017-10-02 21:01:29 -04:00
Jonathan Knapp
85550c8c0c
Remove extra, unnecessary quoting 2017-10-02 09:51:07 -04:00
Jonathan Knapp
20b70bccc7
Remove shebangs from lib files and pass bash dialect to shellcheck 2017-10-01 11:34:35 -04:00
Jonathan Knapp
32b2690874
Fix incorrect linter error from help text parsing 2017-10-01 09:18:38 -04:00
Jonathan Knapp
33d7d9c26c
Merge remote-tracking branch 'source/master' into origin/shellcheck 2017-10-01 09:15:22 -04:00
Daniel Perez
14d7ef50ed Merge pull request #233 from van-mronov/doc-link
Fix creating-plugins link
2017-09-29 10:46:51 +09:00
Ivan Mironov
959033bdd2 Fix creating-plugins link 2017-09-28 14:32:37 +03:00
Daniel Perez
56b8456920 Fix tab formatting in fish completions 2017-09-27 16:41:49 +09:00
Daniel Perez
6a63299dec Update fish completions 2017-09-27 16:40:50 +09:00
Hugo Peixoto
9e97bc5e61 Use origin when updating tags 2017-09-25 14:13:35 +01:00
Trevor Brown
896bd163e0 Correct versions in CHANGELOG.md. 2017-09-19 18:02:07 -04:00
Trevor Brown
d19f6131a6 Update version to 0.4.0 2017-09-19 17:44:34 -04:00
Trevor Brown
09aff34ed1 Merge branch 'brew-upgrade-fix' 2017-09-19 17:25:29 -04:00
Trevor Brown
19f3bcd488 Change version to 0.4.0. 2017-09-17 16:27:21 -04:00
Trevor Brown
6798101f21 Fix bug in release.sh script. 2017-09-12 18:48:00 -04:00
Trevor Brown
6c90970e17 Add help message that explains how to revert a bad release tagging to the release.sh script. 2017-09-12 18:48:00 -04:00
Trevor Brown
84ad80f575 Add mechanism to disable the update command since it will not work when asdf is installed via brew. 2017-09-12 18:48:00 -04:00
Trevor Brown
252ee6a608 Add more items to CHANGELOG.md. 2017-09-12 18:48:00 -04:00
Trevor Brown
5b35ea01db Add code to release.sh to update the version hardcoded in the VERSION file. 2017-09-12 18:48:00 -04:00
Trevor Brown
4da62b16c8 Move hardcoded version to VERSION file in repo root. 2017-09-12 18:48:00 -04:00
Trevor Brown
663ebb9a2f Move asdf_repository_url function to top of utils.sh. 2017-09-06 21:37:08 -04:00
Trevor Brown
9db92163d5 Add better help for the plugin-add command. 2017-09-06 21:35:08 -04:00
Victor Borja
8b40b30dec let bin/asdf expand args into command functions 2017-09-04 12:49:38 -05:00
Victor Borja
e814d58da3 Shellcheck all commands 2017-09-04 12:04:56 -05:00
Jonathan Knapp
9d6ddb71d5
Fix linter errors 2017-09-04 10:12:45 -04:00
Jonathan Knapp
f75e988363
Fix another linter error that did not trigger on osx 2017-09-04 10:11:06 -04:00
Jonathan Knapp
91d52b99cb
Run shellcheck on lib/utils.sh 2017-09-04 10:11:06 -04:00
Jonathan Knapp
7751fd4974
Add TravisCI instructions for osx setup of shellcheck 2017-09-04 10:09:48 -04:00
Jonathan Knapp
9a3bd01ee4
Ignore following non-constant source 2017-09-04 10:09:47 -04:00
Jonathan Knapp
808a8d48b7
Fix many shellcheck issues; ignore a few others 2017-09-04 10:09:47 -04:00
Jonathan Knapp
bf60c7f3ac
Add lint script and run as part of CI tests 2017-09-04 10:03:31 -04:00
Victor Borja
e74c472829 Test current command with no installed version 2017-09-03 22:20:35 -05:00
Victor Borja
744742ca4a Update CHANGELOG.md 2017-09-03 20:42:28 -05:00
Victor Borja
e1f34dd383 Add plugin-list-all to help.txt 2017-09-03 20:36:26 -05:00