Exemple #1
0
        public static void CommandLineRunJob()
        {
            IgorDebug.CoreLog("CommandLineRunJob invoked from command line.");

            IgorConfigWindow.OpenOrGetConfigWindow();

            EditorHandleJobStatus(IgorCore.RunJob());
        }
Exemple #2
0
        public static void CheckForAndRunJobs()
        {
            string JobName = Environment.GetEnvironmentVariable(MonsterTestCore.MonsterLauncherJobNameEnvVariable);

            MonsterDebug.Log("Checking for job " + JobName);

            if (JobName != null && JobName != "" && JobName != CurrentJobName)
            {
                IgorConfig.SetJobToRunByName(JobName);

                MonsterDebug.Log("Starting job " + JobName);

                CurrentJobName = JobName;
            }

            IgorCore.HandleJobStatus(IgorCore.RunJob(false));
        }
Exemple #3
0
        public static void UpdateAndRunJob()
        {
            IgorDebug.CoreLog("UpdateAndRunJob invoked from command line.");

            IgorJobConfig.SetBoolParam("updatebeforebuild", true);

            IgorConfigWindow.OpenOrGetConfigWindow();

            bool DidUpdate = IgorUpdater.CheckForUpdates(false, false, true);

            if (!DidUpdate)
            {
                IgorDebug.CoreLog("Igor did not need to update, running job.");

                EditorHandleJobStatus(IgorCore.RunJob());
            }
            else
            {
                IgorDebug.CoreLog("Igor needed to update, waiting for re-compile to run a job...");
            }
        }
Exemple #4
0
 public void RunJobInst()
 {
     EditorHandleJobStatus(IgorCore.RunJob());
 }
Exemple #5
0
 public static void ContinueRunningJob()
 {
     EditorHandleJobStatus(IgorCore.RunJob());
 }