added debugging to build tool

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401780
This commit is contained in:
David Anderson 2007-12-07 21:43:28 +00:00
parent 1ad8e34181
commit bb64e2bd6d

View File

@ -44,11 +44,13 @@ namespace builder
p.WaitForExit(); p.WaitForExit();
p.Close(); p.Close();
Console.WriteLine("Debug: wd = " + info.WorkingDirectory + " fn = " + info.FileName + " arg = " + info.Arguments);
Console.WriteLine(output); Console.WriteLine(output);
string binary = Config.PathFormat("{0}/{1}/addons/sourcemod/scripting/{2}.smx", cfg.pkg_path, pkg.GetBaseFolder(), pl.Source); string binary = Config.PathFormat("{0}/{1}/addons/sourcemod/scripting/{2}.smx", cfg.pkg_path, pkg.GetBaseFolder(), pl.Source);
if (!File.Exists(binary)) if (!File.Exists(binary))
{ {
Console.WriteLine("Could not find binary: " + binary);
return false; return false;
} }