added debugging to build tool
authorDavid Anderson <dvander@alliedmods.net>
Fri Dec 07 21:43:28 2007 +0000 (2007-12-07)
changeset 1774b94704497073
parent 1773 d00a853ec547
child 1775 6eb390705976
added debugging to build tool
tools/builder/ABuilder.cs
     1.1 --- a/tools/builder/ABuilder.cs	Fri Dec 07 00:17:24 2007 +0000
     1.2 +++ b/tools/builder/ABuilder.cs	Fri Dec 07 21:43:28 2007 +0000
     1.3 @@ -44,11 +44,13 @@
     1.4  			p.WaitForExit();
     1.5  			p.Close();
     1.6  
     1.7 +			Console.WriteLine("Debug: wd = " + info.WorkingDirectory + " fn = " + info.FileName + " arg = " + info.Arguments);
     1.8  			Console.WriteLine(output);
     1.9  
    1.10  			string binary = Config.PathFormat("{0}/{1}/addons/sourcemod/scripting/{2}.smx", cfg.pkg_path, pkg.GetBaseFolder(), pl.Source);
    1.11  			if (!File.Exists(binary))
    1.12  			{
    1.13 +				Console.WriteLine("Could not find binary: " + binary);
    1.14  				return false;
    1.15  			}
    1.16