mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-02 22:36:00 +02:00
Merge remote-tracking branch 'upstream/master' into Yuvan/CustomBuildProperties
This commit is contained in:
commit
4b879670ca
294 changed files with 15180 additions and 4106 deletions
|
@ -25,6 +25,7 @@ namespace BeefBuild
|
|||
public bool mWantsGenerate = false;
|
||||
public bool mHandledVerb;
|
||||
public String mRunArgs ~ delete _;
|
||||
public String mStartingDirectory = new .() ~ delete _;
|
||||
MainVerbState mMainVerbState;
|
||||
|
||||
/*void Test()
|
||||
|
@ -57,6 +58,8 @@ namespace BeefBuild
|
|||
|
||||
public override void Init()
|
||||
{
|
||||
Directory.GetCurrentDirectory(mStartingDirectory);
|
||||
|
||||
GetVersionInfo(var exeTime);
|
||||
|
||||
if (mVerbosity == .Default)
|
||||
|
@ -388,9 +391,9 @@ namespace BeefBuild
|
|||
mFailed = true;
|
||||
}
|
||||
|
||||
protected override void CompileFailed()
|
||||
protected override void CompileFailed(Stopwatch stopwatch)
|
||||
{
|
||||
base.CompileFailed();
|
||||
base.CompileFailed(stopwatch);
|
||||
mFailed = true;
|
||||
}
|
||||
|
||||
|
@ -434,9 +437,6 @@ namespace BeefBuild
|
|||
{
|
||||
if ((mVerb == .Run) && (!mDidRun) && (!mFailed))
|
||||
{
|
||||
let curPath = scope String();
|
||||
Directory.GetCurrentDirectory(curPath);
|
||||
|
||||
let workspaceOptions = gApp.GetCurWorkspaceOptions();
|
||||
let options = gApp.GetCurProjectOptions(mWorkspace.mStartupProject);
|
||||
let targetPaths = scope List<String>();
|
||||
|
@ -445,7 +445,7 @@ namespace BeefBuild
|
|||
if (targetPaths.IsEmpty)
|
||||
return;
|
||||
|
||||
ExecutionQueueCmd executionCmd = QueueRun(targetPaths[0], mRunArgs ?? "", curPath);
|
||||
ExecutionQueueCmd executionCmd = QueueRun(targetPaths[0], mRunArgs ?? "", mStartingDirectory);
|
||||
executionCmd.mRunFlags |= .NoRedirect;
|
||||
executionCmd.mIsTargetRun = true;
|
||||
mDidRun = true;
|
||||
|
|
|
@ -31,7 +31,7 @@ namespace BeefBuild
|
|||
|
||||
//TestZip2();
|
||||
String commandLine = scope String();
|
||||
commandLine.Join(" ", params args);
|
||||
commandLine.Join(" ", args);
|
||||
|
||||
BuildApp mApp = new BuildApp();
|
||||
mApp.ParseCommandLine(commandLine);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue