Ejemplo n.º 1
0
        public void Initialize()
        {
            var buildsPath = Path.Combine(DataPath, "builds");

            Builds = new BuildDataManager(buildsPath);
            Builds.Load();
        }
Ejemplo n.º 2
0
        public void InitializeNew()
        {
            try {
                Builds = new BuildDataManager(ContentBuildPath);
                Builds.Load();

                Deployments = new DeploymentDataManager(ContentDeploymentPath);
                Deployments.Load();
            }
            finally {
                CompleteLoading();
            }
        }
Ejemplo n.º 3
0
        public void Load()
        {
            try {
                LoadProject();
                LoadLastBuild();
                LoadLastDeployment();

                Builds = new BuildDataManager(ContentBuildPath);
                Builds.Load();

                Deployments = new DeploymentDataManager(ContentDeploymentPath);
                Deployments.Load();

                if (Description.MaxBuilds.HasValue)
                {
                    Builds.Cleanup((int)Description.MaxBuilds.Value);
                }
            }
            finally {
                CompleteLoading();
            }
        }