mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 05:44:11 +02:00
Fixed postbuild commands
This commit is contained in:
parent
efbef794e0
commit
ff8aae1a72
1 changed files with 13 additions and 11 deletions
|
@ -1018,8 +1018,20 @@ namespace IDE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DoPostBuild()
|
||||||
|
{
|
||||||
|
switch (QueueProjectCustomBuildCommands(project, targetPath, runAfter ? options.mBuildOptions.mBuildCommandsOnRun : options.mBuildOptions.mBuildCommandsOnCompile, options.mBuildOptions.mPostBuildCmds))
|
||||||
|
{
|
||||||
|
case .NoCommands:
|
||||||
|
case .HadCommands:
|
||||||
|
case .Failed:
|
||||||
|
completedCompileCmd.mFailed = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (project.mGeneralOptions.mTargetType == .CustomBuild)
|
if (project.mGeneralOptions.mTargetType == .CustomBuild)
|
||||||
{
|
{
|
||||||
|
DoPostBuild();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1175,17 +1187,7 @@ namespace IDE
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hotProject == null)
|
DoPostBuild();
|
||||||
{
|
|
||||||
switch (QueueProjectCustomBuildCommands(project, targetPath, runAfter ? options.mBuildOptions.mBuildCommandsOnRun : options.mBuildOptions.mBuildCommandsOnCompile, options.mBuildOptions.mPostBuildCmds))
|
|
||||||
{
|
|
||||||
case .NoCommands:
|
|
||||||
case .HadCommands:
|
|
||||||
case .Failed:
|
|
||||||
completedCompileCmd.mFailed = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue