Exemplo n.º 1
0
        public DotNetProjectBuilder(BuildCommandApp args) : base(args.ShouldSkipDependencies)
        {
            _args = args;

            _preconditionManager = new IncrementalPreconditionManager(
                args.ShouldPrintIncrementalPreconditions,
                args.ShouldNotUseIncrementality,
                args.ShouldSkipDependencies);

            _compilerIOManager = new CompilerIOManager(
                args.ConfigValue,
                args.OutputValue,
                args.BuildBasePathValue,
                args.GetRuntimes(),
                args.Workspace
                );

            _incrementalManager = new IncrementalManager(
                this,
                _compilerIOManager,
                _preconditionManager,
                _args.ShouldSkipDependencies,
                _args.ConfigValue,
                _args.BuildBasePathValue,
                _args.OutputValue,
                BuildIncrementalArgumentList(_args)
                );

            _scriptRunner = new ScriptRunner();

            _commandFactory = new DotNetCommandFactory();
        }
Exemplo n.º 2
0
        public DotNetProjectBuilder(BuildCommandApp args) : base(args.ShouldSkipDependencies)
        {
            _args = args;

            _preconditionManager = new IncrementalPreconditionManager(
                args.ShouldPrintIncrementalPreconditions,
                args.ShouldNotUseIncrementality,
                args.ShouldSkipDependencies);

            _compilerIOManager = new CompilerIOManager(
                args.ConfigValue,
                args.OutputValue,
                args.BuildBasePathValue,
                args.GetRuntimes(),
                args.Workspace
                );

            _incrementalManager = new IncrementalManager(
                this,
                _compilerIOManager,
                _preconditionManager,
                _args.ShouldSkipDependencies,
                _args.ConfigValue,
                _args.BuildBasePathValue,
                _args.OutputValue,
                BuildIncrementalArgumentList(_args)
                );

            _scriptRunner = new ScriptRunner();

            _commandFactory = new DotNetCommandFactory();
        }
Exemplo n.º 3
0
 public IncrementalManager(
     ProjectBuilder projectBuilder,
     CompilerIOManager compilerIOManager,
     IncrementalPreconditionManager incrementalPreconditionManager,
     bool shouldSkipDependencies,
     string configuration,
     string buildBasePath,
     string outputPath)
 {
     _projectBuilder         = projectBuilder;
     _compilerIoManager      = compilerIOManager;
     _preconditionManager    = incrementalPreconditionManager;
     _shouldSkipDependencies = shouldSkipDependencies;
     _configuration          = configuration;
     _buildBasePath          = buildBasePath;
     _outputPath             = outputPath;
 }
Exemplo n.º 4
0
 public IncrementalManager(
     ProjectBuilder projectBuilder,
     CompilerIOManager compilerIOManager,
     IncrementalPreconditionManager incrementalPreconditionManager,
     bool shouldSkipDependencies,
     string configuration,
     string buildBasePath,
     string outputPath,
     IDictionary<string, string> incrementalAffectingArguments)
 {
     _projectBuilder = projectBuilder;
     _compilerIoManager = compilerIOManager;
     _preconditionManager = incrementalPreconditionManager;
     _shouldSkipDependencies = shouldSkipDependencies;
     _configuration = configuration;
     _buildBasePath = buildBasePath;
     _outputPath = outputPath;
     _incrementalAffectingArguments = incrementalAffectingArguments;
 }