Unify PlatformTarget.clean().
All of the implementations were identical, except for `FlashPlatform`, which was identical with extra steps.
This commit is contained in:
@@ -103,16 +103,6 @@ class FlashPlatform extends PlatformTarget
|
||||
System.runCommand("", "haxe", [targetDirectory + "/haxe/" + buildType + ".hxml"]);
|
||||
}
|
||||
|
||||
public override function clean():Void
|
||||
{
|
||||
var targetPath = targetDirectory + "";
|
||||
|
||||
if (FileSystem.exists(targetPath))
|
||||
{
|
||||
System.removeDirectory(targetPath);
|
||||
}
|
||||
}
|
||||
|
||||
public override function deploy():Void
|
||||
{
|
||||
DeploymentHelper.deploy(project, targetFlags, targetDirectory, "Flash");
|
||||
|
||||
Reference in New Issue
Block a user