Skip to content

Commit

Permalink
feat: adds support for forge clean to remove zkout directory (#611)
Browse files Browse the repository at this point in the history
feat: adds support for zksolc forge clean
  • Loading branch information
dutterbutter authored Oct 15, 2024
1 parent 902f992 commit b513e39
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 b513e39

Please sign in to comment.