Skip to content

Commit

Permalink
fix(check): confirm that dot in on the PATH
Browse files Browse the repository at this point in the history
If not, it can be installed via the `graphviz` package.

See #886
  • Loading branch information
fosskers committed Aug 7, 2024
1 parent e224c7f commit 62fd5b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#### Fixed

- Zsh completions of `-S`.
- `check`: confirm that `dot` is on the system. If missing, it belongs to the `graphviz` package.

## 4.0.1

Expand Down
1 change: 1 addition & 0 deletions rust/aura-pm/src/command/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ fn environment(fll: &FluentLanguageLoader) {
editor(fll);
java(fll);
executable!(fll, "bat", "check-env-exec", exec = "bat");
executable!(fll, "dot", "check-env-exec", exec = "dot");
executable!(fll, "fd", "check-env-exec", exec = "fd");
executable!(fll, "git", "check-env-exec", exec = "git");
executable!(fll, "rg", "check-env-exec", exec = "rg");
Expand Down
4 changes: 2 additions & 2 deletions rust/aura-pm/src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ pub enum SubCmd {
Check(Check),
/// View various configuration settings and files.
Conf(Conf),
/// Output a dependency graph in DOT format.
/// Output a dependency graph.
Deps(Deps),
/// State of Free Software installed on the system.
Free(Free),
Expand Down Expand Up @@ -1294,7 +1294,7 @@ pub struct Aur {
#[clap(long, display_order = 5)]
pub noconfirm: bool,

/// (Makepkg) Do not run the check() function the PKGBUILD.
/// (Makepkg) Do not run the check() function of the PKGBUILD.
#[clap(long, display_order = 5)]
pub nocheck: bool,

Expand Down

0 comments on commit 62fd5b4

Please sign in to comment.