excluded svn_version.tpl

if a mod fails to build, it's no longer fatal
This commit is contained in:
David Anderson 2007-03-13 00:21:35 +00:00
parent 4597868d30
commit 46a3929365
3 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,6 @@ public virtual bool Build(Config cfg, Build build)
if (!BuildMod(mod)) if (!BuildMod(mod))
{ {
System.Console.WriteLine("Mod failed to build: " + mod.GetName()); System.Console.WriteLine("Mod failed to build: " + mod.GetName());
return false;
} }
CompressDir( CompressDir(
PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()), PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()),

View File

@ -43,6 +43,10 @@ public override sealed bool ExcludeCopy(string file)
if ( ((ABuilder.GetFileName(file).CompareTo("sasm")) == 0) if ( ((ABuilder.GetFileName(file).CompareTo("sasm")) == 0)
&& Releaser.IsWindows ) && Releaser.IsWindows )
return true; return true;
if (ABuilder.GetFileName(file).CompareTo("svn_version.tpl") == 0)
{
return true;
}
return base.ExcludeCopy(file); return base.ExcludeCopy(file);
} }