This commit is contained in:
committed by
Valentin Lemière
parent
668f59ae1c
commit
f0c605d091
@@ -511,6 +511,12 @@ class CommandLineTools {
|
||||
|
||||
if (project.targetHandlers.exists (Std.string (project.target))) {
|
||||
|
||||
if (command == "build" || command == "test") {
|
||||
|
||||
CommandHelper.executeCommands (project.preBuildCallbacks);
|
||||
|
||||
}
|
||||
|
||||
LogHelper.info ("", LogHelper.accentColor + "Using target platform: " + Std.string (project.target).toUpperCase () + "\x1b[0m");
|
||||
|
||||
var handler = project.targetHandlers.get (Std.string (project.target));
|
||||
@@ -551,6 +557,12 @@ class CommandLineTools {
|
||||
|
||||
} catch (e:Dynamic) {}
|
||||
|
||||
if (command == "build" || command == "test") {
|
||||
|
||||
CommandHelper.executeCommands (project.postBuildCallbacks);
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
var platform:PlatformTarget = null;
|
||||
|
||||
Reference in New Issue
Block a user