-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #21
- Loading branch information
Showing
7 changed files
with
108 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1213,9 +1213,8 @@ Options: | |
Examples: | ||
$ rtx install [email protected] # install specific nodejs version | ||
$ rtx install nodejs@18 # install fuzzy nodejs version | ||
$ rtx install nodejs # install version specified in .tool-versions | ||
$ rtx install # installs all runtimes specified in .tool-versions for installed plugins | ||
$ rtx install --all # installs all runtimes and all plugins | ||
$ rtx install nodejs # install version specified in .tool-versions or .rtx.toml | ||
$ rtx install # installs all runtimes specified in .tool-versions or .rtx.toml | ||
``` | ||
### `rtx latest` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
assert() { | ||
local actual | ||
actual="$($*)" | ||
if [[ "$actual" != "$2" ]]; then | ||
echo "Expected '$2' but got '$actual'" | ||
exit 1 | ||
fi | ||
} | ||
|
||
eval "$(rtx activate bash)" && eval "$(rtx hook-env)" | ||
rtx plugin install https://github.com/kachick/asdf-zigmod | ||
rtx x --install-missing zigmod@latest -- zigmod version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -199,9 +199,8 @@ static AFTER_LONG_HELP: Lazy<String> = Lazy::new(|| { | |
{} | ||
$ rtx install [email protected] # install specific nodejs version | ||
$ rtx install nodejs@18 # install fuzzy nodejs version | ||
$ rtx install nodejs # install version specified in .tool-versions | ||
$ rtx install # installs all runtimes specified in .tool-versions for installed plugins | ||
$ rtx install --all # installs all runtimes and all plugins | ||
$ rtx install nodejs # install version specified in .tool-versions or .rtx.toml | ||
$ rtx install # installs all runtimes specified in .tool-versions or .rtx.toml | ||
"#, style("Examples:").bold().underlined()} | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters