From 8f97ed793414db75efd108c93758376d3f055008 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 24 Aug 2005 03:14:13 +0000 Subject: [PATCH] Deleted bad file --- installer/AMXXRelease/Builder.cs | 282 ------------------------------- 1 file changed, 282 deletions(-) delete mode 100755 installer/AMXXRelease/Builder.cs diff --git a/installer/AMXXRelease/Builder.cs b/installer/AMXXRelease/Builder.cs deleted file mode 100755 index f7462102..00000000 --- a/installer/AMXXRelease/Builder.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System; -using System.Diagnostics; -using System.IO; - -namespace AMXXRelease -{ - /// - /// Summary description for Class1. - /// - class Builder - { - public Config m_Cfg; - private string m_AmxxPc; - - public Builder() - { - m_Cfg = new Config(); - - m_AmxxPc = m_Cfg.GetSourceTree() + "\\plugins\\amxxpc.exe"; - } - - [STAThread] - static void Main(string[] args) - { - Builder b = new Builder(); - Release15 r15 = new Release15(); - - if (!b.Build(r15)) - { - System.Console.WriteLine("Build failed: " + r15.GetName()); - } - else - { - System.Console.WriteLine("Build succeeded!"); - } - - } - - public bool Build(ABuild build) - { - int num = build.GetMods(); - - AMod mod; - for (int i=0; i=0; i--) - { - if (input[i] == '\\' && i != input.Length-1) - { - return input.Substring(i+1, input.Length-i-1); - } - } - - return input; - } - - public bool BuildModModules(AMod mod) - { - int num = mod.GetModules(); - - Module module; - string binary, basedir; - - basedir = m_Cfg.OutputPath(); - basedir += "\\" + mod.GetModPath(); - - string dir; - for (int i=0; i