Commit Graph

293 Commits

Author SHA1 Message Date
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
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
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
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
Akash Manohar
7849d3a9aa Merge pull request #63 from Jwashton/master. Thank you @Jwashton ~!
Update README to include fedora package names
2016-06-17 07:09:07 +05:30
William Ashton
cf93b2265e Update README to include fedora package names 2016-06-16 17:14:05 -04:00
Akash Manohar
fe34eda5fe Merge pull request #59 from tuvistavie/add-travis-badges
Add travis badges to README
2016-06-12 14:09:54 +05:30
Daniel Perez
6b51f1b87b Add travis badges to README 2016-06-12 17:10:59 +09:00
Trevor Brown
724a1ab8cc Add Stratus3D to list of maintainers in readme. 2016-05-17 21:46:13 -04:00
Akash Manohar
c3765182f8 Merge pull request #51 from tuvistavie/use-multiple-versions
Make it possible to use fallback versions. Thank you @tuvistavie ~!
2016-05-14 15:19:29 +05:30
Akash Manohar
9c74973f8b Merge pull request #54 from tuvistavie/plugin-test
Add command and instructions to test plugin. Thank you @tuvistavie ~!
2016-05-14 10:07:17 +05:30
Daniel Perez
d633546bd2 Add local/global commands documentation. 2016-05-14 11:19:49 +09:00
Daniel Perez
61e014a2d6 Fix local command bug. 2016-05-14 11:11:16 +09:00
Daniel Perez
072a57e4cb Add command and instructions to test plugin. 2016-05-13 16:04:01 +09:00