Add note on the recommended way to manually sort versions.

This commit is contained in:
Stratus3D 2016-12-14 11:04:31 -05:00
parent 4f15d2cbe6
commit 4a4d9022f0

View File

@ -25,7 +25,7 @@ Must print a string with a space-seperated list of versions. Example output woul
Note that the newest version should be listed last so it appears closer to the user's prompt. This is helpful since the `list-all` command prints each version on it's own line. If there are many versions it's possible the early versions will be off screen.
If versions are being pulled from releases page on a website it's recommended to not sort the versions if at all possible. Often the versions are already in the correct order or, in reverse order, in which case something like `tac` should suffice.
If versions are being pulled from releases page on a website it's recommended to not sort the versions if at all possible. Often the versions are already in the correct order or, in reverse order, in which case something like `tac` should suffice. If you must sort versions manually you cannot rely on `sort -V` since it is not supported on OSX. An alternate sort function [like this is a better choice](https://github.com/vic/asdf-idris/blob/master/bin/list-all#L6).
#### bin/install