From 66413edfb30cd2e11174ef465c210bd96ef62633 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 28 Oct 2025 13:17:31 +0700 Subject: [PATCH] Don't clean build deps --- src/bin/repo.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index c5e173b1..01fd77ac 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -91,6 +91,9 @@ impl CliCommand { pub fn is_informational(&self) -> bool { *self == CliCommand::Tree || *self == CliCommand::Find } + pub fn is_building(&self) -> bool { + *self == CliCommand::Fetch || *self == CliCommand::Cook + } } impl FromStr for CliCommand { @@ -340,7 +343,7 @@ fn parse_args(args: Vec) -> anyhow::Result<(CliConfig, CliCommand, Vec