From ecdb598582eb6a8e23ae0088f122f8b178d87594 Mon Sep 17 00:00:00 2001 From: Michael Angelo Calimlim Date: Sat, 4 Nov 2023 07:46:38 +0800 Subject: [PATCH] remove clean to use incremental compilation --- src/ftw_command.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ftw_command.rs b/src/ftw_command.rs index 5c21b49..2fceb80 100644 --- a/src/ftw_command.rs +++ b/src/ftw_command.rs @@ -418,7 +418,6 @@ impl Processor for FtwCommand { } FtwCommand::Build { targets, build_type } => { FtwCommand::is_valid_project()?; - FtwCommand::clean()?; for target in targets { FtwCommand::build_lib(*target, *build_type)?; thread::sleep(time::Duration::from_millis(100)); @@ -427,7 +426,6 @@ impl Processor for FtwCommand { } FtwCommand::Export { targets, build_type } => { FtwCommand::is_valid_project()?; - FtwCommand::clean()?; for target in targets { FtwCommand::build_lib(*target, *build_type)?; FtwCommand::export_game(*target, *build_type)?;