diff --git a/IDE/src/BuildContext.bf b/IDE/src/BuildContext.bf index 552decfb..21ec2e17 100644 --- a/IDE/src/BuildContext.bf +++ b/IDE/src/BuildContext.bf @@ -279,6 +279,12 @@ namespace IDE project.mLastDidBuild = true; } + else + { + var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project); + tagetCompletedCmd.mOnlyIfNotFailed = true; + gApp.mExecutionQueue.Add(tagetCompletedCmd); + } return true; } @@ -546,6 +552,12 @@ namespace IDE project.mLastDidBuild = true; } } + else + { + var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project); + tagetCompletedCmd.mOnlyIfNotFailed = true; + gApp.mExecutionQueue.Add(tagetCompletedCmd); + } return true; } @@ -646,6 +658,12 @@ namespace IDE project.mLastDidBuild = true; } } + else + { + var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project); + tagetCompletedCmd.mOnlyIfNotFailed = true; + gApp.mExecutionQueue.Add(tagetCompletedCmd); + } return true; } @@ -1155,6 +1173,12 @@ namespace IDE project.mLastDidBuild = true; } } + else + { + var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project); + tagetCompletedCmd.mOnlyIfNotFailed = true; + gApp.mExecutionQueue.Add(tagetCompletedCmd); + } return true; } @@ -1266,6 +1290,10 @@ namespace IDE if (project.mGeneralOptions.mTargetType == .CustomBuild) { + var tagetCompletedCmd = new IDEApp.TargetCompletedCmd(project); + tagetCompletedCmd.mOnlyIfNotFailed = true; + gApp.mExecutionQueue.Add(tagetCompletedCmd); + return true; }