Daniel Perez
95bde8e86f
Fix local and global commands to accept multiple versions
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
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
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
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
Daniel Perez
3af5d21067
Set ASDF_CONCURRENCY when installing
2016-07-01 16:42:59 +09:00
Daniel Perez
61e014a2d6
Fix local command bug.
2016-05-14 11:11:16 +09:00
Daniel Perez
b0513a6da0
Fix local command to support legacy files.
2016-05-03 00:27:52 +09:00
Daniel Perez
784d7e9f34
Add support for local and global commands.
2016-04-25 02:13:09 +09:00
Daniel Perez
d4ee3aa999
Add support for config file.
2016-04-24 22:39:24 +09:00