From 74fc52401532f9f0ddd0a9b669d8acf0727e343f Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Tue, 15 Oct 2024 14:39:59 -0500 Subject: [PATCH] feat: adds support for zksolc forge clean --- crates/forge/bin/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/forge/bin/main.rs b/crates/forge/bin/main.rs index f92d3db80..206eb730a 100644 --- a/crates/forge/bin/main.rs +++ b/crates/forge/bin/main.rs @@ -83,7 +83,10 @@ fn main() -> Result<()> { ForgeSubcommand::Clean { root } => { let config = utils::load_config_with_root(root.as_deref()); let project = config.project()?; + let zk_project = + foundry_zksync_compiler::config_create_project(&config, config.cache, false)?; config.cleanup(&project)?; + config.cleanup(&zk_project)?; Ok(()) } ForgeSubcommand::Snapshot(cmd) => {