Commit Graph

303 Commits

Author SHA1 Message Date
DalHo Park
8e59d8de98 file_path may have some spaces. 2016-10-27 16:24:34 +09:00
Daniel Perez
0d607d73d6 Merge pull request #93 from st23am/patch-1
Correct spelling / typo Max vs Mac
2016-09-13 10:51:28 +09:00
James Smith
9f6b15b723 Correct spelling / typo Max vs Mac 2016-09-12 17:01:45 -04:00
Trevor Brown
b0b30d0464 Merge branch 'rockwood-legacy_file_redux' 2016-08-30 19:13:32 -04:00
Daniel Perez
95bde8e86f Fix local and global commands to accept multiple versions 2016-08-30 19:13:10 -04:00
Stratus3D
af222ad464 Merge branch 'local-whitespace-fix' 2016-08-30 19:13:10 -04:00
Stratus3D
59f371e423 Merge remote-tracking branch 'origin/readme-asdfrc' 2016-08-30 19:13:10 -04:00
Stratus3D
12a6316e4c Fix whitespace bug in 'asdf local'. 2016-08-30 19:13:10 -04:00
Trevor Brown
5cc55d45fd Add section to readme on the .asdfrc file. 2016-08-30 19:13:10 -04:00
Stratus3D
181b5a769b Add test for 'asdf local' in a directory with a name containing whitespace. 2016-08-30 19:13:10 -04:00
Daniel Perez
f525ba85ff Fix local and global commands to accept multiple versions 2016-08-30 15:46:14 +09:00
Kevin Rockwood
20739721ca Add note about parse-legacy-file argument 2016-08-30 09:25:52 +09:00
Kevin Rockwood
d505c0ee71 Return both version and path from find_version
This allows the current command to print the setting file.
2016-08-30 09:21:26 +09:00
Kevin Rockwood
cec4e9a737 Combine search and parse operations
We need to search and parse simultaneously in case the tool-versions 
file doesn't contain a setter line for the plugin.
2016-08-28 13:41:37 +09:00
Stratus3D
c007ac728b Merge branch 'local-whitespace-fix' 2016-08-18 13:43:13 -04:00
Stratus3D
9407521fbf Fix whitespace bug in 'asdf local'. 2016-08-16 10:54:36 -04:00
Stratus3D
98265b00ef Add test for 'asdf local' in a directory with a name containing whitespace. 2016-08-16 10:52:37 -04:00
Stratus3D
d7a0a525b9 Merge remote-tracking branch 'origin/readme-asdfrc' 2016-08-15 12:46:38 -04:00
Kevin Rockwood
333339b960 Update plugin docs with new legacy file api 2016-08-14 09:10:24 +09:00
Kevin Rockwood
280581c566 Clean up utils
Whitespace and remove dead function
2016-08-14 09:10:24 +09:00
Kevin Rockwood
511535b750 Add warning to when using deprecated plugins
This can be removed after we've given users enough time to update.
2016-08-14 09:10:24 +09:00
Kevin Rockwood
4d75ddd50b Update current command with new util functions
current will now print paths to legacy files and .tool-version files
2016-08-14 09:10:24 +09:00
Kevin Rockwood
c6d814e247 Unify .tool-versions and legacy file search 2016-08-14 09:10:24 +09:00
Kevin Rockwood
16f3fa9f03 Use dummy plugin for utils test 2016-08-14 09:10:24 +09:00
Trevor Brown
0e8889b284 Add section to readme on the .asdfrc file. 2016-08-13 14:27:27 -04:00
Trevor Brown
c684430cc3 Merge branch 'add-changelog' 2016-08-04 19:24:15 -04:00
Trevor Brown
e31cdbd460 Add CHANGELOG.md with details on 0.1.0 and 0.2.0-dev. 2016-08-04 19:20:53 -04:00
Trevor Brown
e01b242bfa Merge branch 'setup-command-should-use-stable' 2016-08-04 19:17:21 -04:00
Trevor Brown
cf184ce453 Add -dev suffix to version currently in development (0.2.0). 2016-08-04 19:11:26 -04:00
Trevor Brown
c77fa1ab77 Update version in utils.sh. Next release will be 0.2.0. 2016-07-29 19:56:40 -04:00
Trevor Brown
2cb40a720b Update asdf setup command in readme so that the latest tag is checked out. 2016-07-29 19:55:52 -04:00
Daniel Perez
3d5a5b9040 Merge pull request #83 from rockwood/unify_version_getter
Unify Version Getter
2016-07-28 01:44:15 +09:00
Kevin Rockwood
7517aa3abc Remove getter feature on local and global commands
This simplifies the `local` and `global` commands. `asdf current` should
be sufficient for getting the current version.

closes #80
2016-07-25 09:44:53 +09:00
Kevin Rockwood
0ce18100c5 Use dummy plugin in version_commands test
This adds a helper to install dummy versions. Hopefully it makes the
test setup a little easier to reason about.
2016-07-25 09:40:52 +09:00
Kevin Rockwood
ca1273e7d4 Rename which to current (#79)
* Rename `asdf which` -> `asdf current`

* Output `set by $path` with current command

* Use dummy plugin in current_command test

* Hide "set by" message if derived from legacy file
2016-07-25 00:47:17 +09:00
Laurens Duijvesteijn
337b335c4d Check if plugin exists before removing it (#77)
Check if plugin exists before removing it
2016-07-06 08:19:15 +09:00
Akash Manohar
e962639048 Merge pull request #78 from duijf/argument-validation. Thank you @duijf ~!
Argument validation
2016-07-03 21:51:29 +05:30
Laurens Duijvesteijn
ccefa996dc plugin-update: argument validation 2016-07-03 13:15:57 +02:00
Laurens Duijvesteijn
f9572739f6 plugin-add: argument validation 2016-07-03 13:11:40 +02:00
Daniel Perez
1589a03678 Merge pull request #53 from ctreatma/feature/only_pwd
Fix #52: Send any `cd` output to /dev/null
2016-07-02 13:56:41 +09:00
Charles Treatman
1d11a73600 Redirect all output to /dev/null, not just stdout 2016-07-01 19:40:05 -04:00
Daniel Perez
a8f67c9821 Fix issue in install get_concurrency 2016-07-01 18:26:25 +09:00
Akash Manohar
c44d05011d Merge pull request #75 from asdf-vm/make-concurrency
Set ASDF_CONCURRENCY when installing
2016-07-01 14:52:05 +05:30
Daniel Perez
3af5d21067 Set ASDF_CONCURRENCY when installing 2016-07-01 16:42:59 +09:00
Daniel Perez
da1dfb1dba Merge pull request #71 from dbernheisel/master
zsh: remove _asdf completion.
2016-07-01 15:50:20 +09:00
David Bernheisel
29807fd154 zsh: remove _asdf completion. #68 2016-06-29 16:06:33 -04:00
Daniel Perez
3af8a365e7 Merge pull request #69 from tejanium/master
Use bashcompinit instead of compinit for ZSH
2016-06-29 12:55:44 +09:00
Teja Sophista V.R
a2844400f4 use bashcompinit instead of compinit for ZSH 2016-06-27 11:14:12 +07:00
Daniel Perez
f53ee42dc1 Merge pull request #61 from tuvistavie/improve-plugin-test
Improve plugin tests
2016-06-17 18:39:48 +09:00
Daniel Perez
caee08d39b Improve plugin tests 2016-06-17 18:37:26 +09:00