C# Класс Bari.Core.Commands.BuildCommand

Implements 'build' command, which runs one or more builder (IBuilder) for a Project, Module or product.
Наследование: ICommand, IHasBuildTarget
Показать файл Открыть проект

Открытые методы

Метод Описание
BuildCommand ( IBuildContextFactory buildContextFactory, IEnumerable projectBuilders, [ targetRoot, ICommandTargetParser targetParser, IUserOutput output, IEnumerable postProcessorFactories, ICoreBuilderFactory coreBuilderFactory ) : System

Constructs the build command

Run ( Suite suite, string parameters ) : bool

Runs the command

Приватные методы

Метод Описание
AddProductBuildStep ( IBuildContext context, Product product, IBuilder rootBuilder ) : IBuilder
RunWithProjects ( CommandTarget target, bool dumpMode, bool dumpDepsMode ) : void

Описание методов

BuildCommand() публичный Метод

Constructs the build command
public BuildCommand ( IBuildContextFactory buildContextFactory, IEnumerable projectBuilders, [ targetRoot, ICommandTargetParser targetParser, IUserOutput output, IEnumerable postProcessorFactories, ICoreBuilderFactory coreBuilderFactory ) : System
buildContextFactory IBuildContextFactory Interface for creating new build contexts
projectBuilders IEnumerable The set of registered project builder factories
targetRoot [ Build target root directory
targetParser ICommandTargetParser Command target parser implementation to be used
output IUserOutput Output interface
postProcessorFactories IEnumerable Factory for post processors
coreBuilderFactory ICoreBuilderFactory Factory for core builders
Результат System

Run() публичный Метод

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
Результат bool