Unify PlatformTarget.clean().

All of the implementations were identical, except for `FlashPlatform`, which was identical with extra steps.
This commit is contained in:
Joseph Cloutier
2025-08-31 22:35:35 -04:00
parent 057a2a4f5e
commit 5e3f77a44f
12 changed files with 7 additions and 91 deletions

View File

@@ -142,14 +142,6 @@ class TizenPlatform extends PlatformTarget
TizenHelper.createPackage(project, targetDirectory + "/bin/CommandLineBuild", "");
}
public override function clean():Void
{
if (FileSystem.exists(targetDirectory))
{
System.removeDirectory(targetDirectory);
}
}
public override function deploy():Void
{
DeploymentHelper.deploy(project, targetFlags, targetDirectory, "Tizen");