Add new dependencies
This commit is contained in:
parent
2f19707e94
commit
87c9c36f6c
8
.github/workflows/release-published.yml
vendored
8
.github/workflows/release-published.yml
vendored
@ -33,7 +33,13 @@ jobs:
|
|||||||
|
|
||||||
# Custom dependencies in case other formulas are needed to build the current one.
|
# Custom dependencies in case other formulas are needed to build the current one.
|
||||||
# Optional - multiline string.
|
# Optional - multiline string.
|
||||||
#depends_on: |
|
depends_on: |
|
||||||
|
fzf
|
||||||
|
gh
|
||||||
|
dust
|
||||||
|
bottom
|
||||||
|
procs
|
||||||
|
src-cli
|
||||||
|
|
||||||
# Custom install command for your formula.
|
# Custom install command for your formula.
|
||||||
# Required - string.
|
# Required - string.
|
||||||
|
@ -2,13 +2,14 @@ pub struct Perf;
|
|||||||
|
|
||||||
impl Perf {
|
impl Perf {
|
||||||
fn run() -> eyre::Result<()> {
|
fn run() -> eyre::Result<()> {
|
||||||
if let Err(_) = util::shell::run_with_input_and_output(&["ytop", "--version"], "".into()) {
|
if let Err(_) = util::shell::run_with_input_and_output(&["bottom", "--version"], "".into())
|
||||||
|
{
|
||||||
return Err(eyre::anyhow!(
|
return Err(eyre::anyhow!(
|
||||||
"could not find ytop, please install or add to PATH"
|
"could not find bottom, please install or add to PATH"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
util::shell::run(&["ytop"], None)?;
|
util::shell::run(&["bottom"], None)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user