Esempio n. 1
0
        /// <summary>
        /// Called when the compilation step 0 ended correctly
        /// </summary>
        protected void OnCompilationOk(MultiCompilation comp, List <FileToCompile> fileToCompiles, List <FileToDeploy> filesToDeploy)
        {
            if (HasBeenCancelled)
            {
                return;
            }

            // Make the deployment for the compilation step (0)
            _filesToDeployPerStep.Add(0, Deployfiles(filesToDeploy));
            comp.Clean();

            // Make the deployment for the step 1 and >=
            ExecuteDeploymentHook(0);
        }
Esempio n. 2
0
        /// <summary>
        /// Called when the compilation step 0 ended correctly
        /// </summary>
        protected void OnCompilationOk(MultiCompilation comp, List <FileToCompile> fileToCompiles, List <FileToDeploy> filesToDeploy)
        {
            if (HasBeenCancelled)
            {
                return;
            }

            // Make the deployment for the compilation step (0)
            try {
                _filesToDeployPerStep.Add(0, Deployfiles(filesToDeploy));
            } catch (Exception e) {
                ErrorHandler.ShowErrors(e);
            }
            comp.Clean();

            // Make the deployment for the step 1 and >=
            ExecuteDeploymentHook(0);
        }