mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 23:56:05 +02:00
Added multi-line custom build command
This commit is contained in:
parent
c4544f67d3
commit
c6f1f358a9
8 changed files with 110 additions and 17 deletions
|
@ -130,7 +130,7 @@ namespace IDE
|
|||
bool isCommand = false;
|
||||
for (let c in origCustomCmd.RawChars)
|
||||
{
|
||||
if ((c == '\"') || (c == '$'))
|
||||
if ((c == '\"') || (c == '$') || (c == '\n'))
|
||||
break;
|
||||
if (c == '(')
|
||||
isCommand = true;
|
||||
|
@ -146,6 +146,9 @@ namespace IDE
|
|||
{
|
||||
customCmd.Append("%exec ");
|
||||
gApp.ResolveConfigString(gApp.mPlatformName, workspaceOptions, project, options, origCustomCmd, "custom command", customCmd);
|
||||
|
||||
// For multi-line execs
|
||||
customCmd.Replace('\n', '\v');
|
||||
}
|
||||
|
||||
if (customCmd.IsWhiteSpace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue