Beispiel #1
0
        private static void BuildPlayers(string target)
        {
            var stopWatch = new System.Diagnostics.Stopwatch();

            stopWatch.Start();

            try
            {
                SimpleBuildSystem.WorkersToBuild = SimpleBuildSystem.AllWorkerTypes;
                SimpleBuildSystem.Target         = target;
                SimpleBuildSystem.Build();
            }
            finally
            {
                SimpleBuildSystem.WorkersToBuild = null;
                SimpleBuildSystem.Target         = null;

                stopWatch.Stop();
            }
        }