You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: IDE/src/IDEApp.bf
+15-3Lines changed: 15 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -507,6 +507,7 @@ namespace IDE
507
507
{
508
508
publicStringmCmd~delete _;
509
509
public String mPath ~delete _;
510
+
publicboolmSkipIfBuildFailed;
510
511
}
511
512
512
513
publicenumArgsFileKind
@@ -533,6 +534,9 @@ namespace IDE
533
534
534
535
public classExecutionInstance
535
536
{
537
+
public String mFileName ~ delete _;
538
+
public String mArgs ~ delete _;
539
+
536
540
public SpawnedProcess mProcess /*~ delete _*/;
537
541
public List<String> mDeferredOutput =newList<String>()~DeleteContainerAndItems!(_);
538
542
public StopwatchmStopwatch=newStopwatch()~delete _;
@@ -9550,6 +9554,9 @@ namespace IDE
9550
9554
9551
9555
var executionInstance =new ExecutionInstance();
9552
9556
9557
+
executionInstance.mFileName =new.(inFileName);
9558
+
executionInstance.mArgs =new.(args);
9559
+
9553
9560
#if BF_PLATFORM_WINDOWS
9554
9561
if(runFlags.HasFlag(.BatchCommand))
9555
9562
{
@@ -9809,9 +9816,9 @@ namespace IDE
9809
9816
}
9810
9817
9811
9818
if(executionInstance.mCanceled)
9812
-
OutputLine("Execution Canceled");
9819
+
OutputLine($"Execution of '{executionInstance.mFileName}' cancelled");
9813
9820
elseif(failed)
9814
-
OutputLine("Execution Failed");
9821
+
OutputErrorLine($"Execution of '{executionInstance.mFileName}' with args '{executionInstance.mArgs}' exited with code '{executionInstance.mExitCode}'");
9815
9822
}
9816
9823
9817
9824
if(executionInstance.mTempFileName !=null)
@@ -9911,7 +9918,12 @@ namespace IDE
9911
9918
9912
9919
if(let scriptCmd = next as ScriptCmd)
9913
9920
{
9914
-
if(mBuildContext?.mScriptManager !=null)
9921
+
if((buildFailed)&&(scriptCmd.mSkipIfBuildFailed))
9922
+
{
9923
+
// Drop the command rather than running it against a missing or stale target
0 commit comments