Skip to content

Commit

Permalink
feat: adds support for zksolc forge clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Oct 15, 2024
1 parent cbd6940 commit 74fc524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/forge/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 74fc524

Please sign in to comment.