update Prebuild.exe with fix on its option excludir

This commit is contained in:
UbitUmarov
2022-05-22 23:37:48 +01:00
parent 33f748a978
commit bbdcaf7508
2 changed files with 5 additions and 5 deletions

View File

@@ -204,7 +204,6 @@ namespace Prebuild.Core.Nodes
{
m_Files.Add(fileTemp);
}
}
}
@@ -259,12 +258,14 @@ namespace Prebuild.Core.Nodes
{
// hack to skip subversion folders. Not having this can cause
// a significant performance hit when running on a network drive.
if (str.EndsWith(".svn"))
if (str.EndsWith(".svn") || str.EndsWith(".git"))
continue;
string dname = Path.GetFileName(str);
if(Kernel.Instance.excludeFolders.Contains(dname))
continue;
if (dname[0]== '.' && (dname[1] == '/' || dname[1] == '\\'))
dname = dname.Substring(2);
if (Kernel.Instance.excludeFolders.Contains(dname))
continue;
RecurseDirectories(Helper.NormalizePath(str), pattern, recurse, useRegex, exclusions);
}
}
@@ -303,7 +304,6 @@ namespace Prebuild.Core.Nodes
if (buildAction != string.Empty)
m_BuildAction = (BuildAction)Enum.Parse(typeof(BuildAction), buildAction);
//TODO: Figure out where the subtype node is being assigned
//string subType = Helper.AttributeValue(node, "subType", string.Empty);
//if (subType != String.Empty)

Binary file not shown.