public BuildConfiguration(IServerPath ggpApprovalSystemSourceCodeFolder, Optional <ILocalPath> installerRootDeliveryFolder, BuildTaskInfo buildTaskInfo, ISourceControlAdapter sourceControlAdapter) { this.GGPApprovalSystemSourceCodeFolder = ggpApprovalSystemSourceCodeFolder; _installerRootDeliveryFolder = installerRootDeliveryFolder; _buildTaskInfo = buildTaskInfo; _sourceControlAdapter = sourceControlAdapter; }
public InstallerBuildContext(ILoggerFactory loggerFactory, IFileSystemAdapter fileSystemAdapter, ISourceControlAdapter sourceControlAdapter, IBuildConfiguration buildConfiguration) { this.Logger = loggerFactory.CreateLogger(this.GetType()); this.FileSystemAdapter = fileSystemAdapter; this.SourceControlAdapter = sourceControlAdapter; this.BuildConfiguration = buildConfiguration; }
public BuildContext(IBuildServices services, IBuildConfiguration buildConfiguration, IDeploymentContentBuilder deploymentContentBuilder, ISourceControlAdapter sourceControlAdapter) { this.Services = services; this.Logger = services.LoggerFactory.CreateLogger(this.GetType()); this.BuildConfiguration = buildConfiguration; this.DeploymentContentBuilder = deploymentContentBuilder; this.ApprovalSystemAdapter = services.CreateApprovalSystemAdapter(); this.SourceControlAdapter = sourceControlAdapter; this.FileSystemAdapter = new FileSystemAdapter(services.OperatingSystemServices.FileSystem); }
private IBuildConfiguration GetBuildConfiguration(ISourceControlAdapter sourceControlAdapter, ComponentsFolder componentsFolder) { var buildOutputFolder = componentsFolder .Core .GGPBootstrapper .ToSourceControlFolder() .GetLocalPath() .Subpath("bin") .Subpath("Release"); var distributionServerPath = sourceControlAdapter.CreateServerPath(_distributionFolderServerPath) .Subpath(_ggpBranchName.ToString()); var distributionLocalPath = sourceControlAdapter.GetLocalPathFromServerPath(distributionServerPath); var solutionFile = componentsFolder.GGPGameServerSln.ToSourceControlFile().GetLocalPath(); return(new BuildConfiguration(buildOutputFolder, distributionLocalPath, distributionServerPath, solutionFile)); }
public InstallerDefinitionReader(ISourceControlAdapter sourceControlAdapter) { _sourceControlAdapter = sourceControlAdapter; }