mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
excluded svn_version.tpl
if a mod fails to build, it's no longer fatal
This commit is contained in:
parent
4597868d30
commit
46a3929365
@ -34,7 +34,6 @@ public virtual bool Build(Config cfg, Build build)
|
||||
if (!BuildMod(mod))
|
||||
{
|
||||
System.Console.WriteLine("Mod failed to build: " + mod.GetName());
|
||||
return false;
|
||||
}
|
||||
CompressDir(
|
||||
PropSlashes(m_Cfg.OutputPath() + "\\" + m_Cfg.GetReleaseName() + "-" + mod.GetName()),
|
||||
|
Binary file not shown.
@ -43,6 +43,10 @@ public override sealed bool ExcludeCopy(string file)
|
||||
if ( ((ABuilder.GetFileName(file).CompareTo("sasm")) == 0)
|
||||
&& Releaser.IsWindows )
|
||||
return true;
|
||||
if (ABuilder.GetFileName(file).CompareTo("svn_version.tpl") == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return base.ExcludeCopy(file);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user