-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ASCII graph to
--graph
switch, and add a --tree
alternative …
…& fallback (#465) * New `alr with --tree`, `alr show --tree` switch Prints dependency graph in tree form, as an alternative to the ascii-art plots that 1) not always will be available, depending in libgraph-easy-perl and 2) quickly become big and broken. * Move ASCII graph to dedicated --graph switch Previously, it was always attempted to be shown with `--solve`, which could be an unnecessary pollution for an otherwise useful command. * Update user-changes document
- Loading branch information
Showing
11 changed files
with
319 additions
and
53 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
package Alire.Utils.Tools is | ||
|
||
type Tool_Kind is (Git, Tar, Unzip, Curl, Mercurial, Subversion); | ||
type Tool_Kind is | ||
(Easy_Graph, Git, Tar, Unzip, Curl, Mercurial, Subversion); | ||
|
||
procedure Check_Tool (Tool : Tool_Kind); | ||
function Available (Tool : Tool_Kind) return Boolean; | ||
-- Say if tool is already available (attemps detection for the tool, but | ||
-- does not install it if missing). | ||
|
||
procedure Check_Tool (Tool : Tool_Kind; Fail : Boolean := True); | ||
-- Check if a required executable tool is available in PATH. | ||
-- If not, try to install it or abort. | ||
-- If not, try to install it. If unable and Fail, abort, otherwise return | ||
|
||
end Alire.Utils.Tools; |
Oops, something went wrong.