forked from rust-lang/rustlings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and added option to use jq for JSON parsing. BASH can naively extract from JSON but jq is faster. By isolating the `locate_version()` in its own function it makes it easier to debug future install problems. I have also tried to make the functions compatible with dash as well as bash, (to cover the future possibility that dash replaces bash.)
- Loading branch information
1 parent
73e848e
commit d9c0232
Showing
1 changed file
with
59 additions
and
18 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