mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 13:24:09 +02:00
Added project context directly to the script commands
This commit is contained in:
parent
0503eedfe6
commit
31a23bff3a
2 changed files with 12 additions and 13 deletions
|
@ -154,14 +154,13 @@ namespace IDE
|
|||
if (mScriptManager == null)
|
||||
{
|
||||
mScriptManager = new .(mScriptContext);
|
||||
mScriptManager.mProjectName = new String(project.mProjectName);
|
||||
mScriptManager.mIsBuildScript = true;
|
||||
mScriptManager.mSoftFail = true;
|
||||
mScriptManager.mVerbosity = gApp.mVerbosity;
|
||||
didCommands = true;
|
||||
}
|
||||
|
||||
mScriptManager.QueueCommands(customCmd, project.mProjectName, .NoLines);
|
||||
mScriptManager.QueueCommands(customCmd, scope String()..AppendF("project {}", project.mProjectName), .NoLines);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue