remove clean to use incremental compilation

This commit is contained in:
Michael Angelo Calimlim 2023-11-04 07:46:38 +08:00
parent 0a261c12d9
commit ecdb598582

View file

@ -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)?;