Exemple #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();
        }
        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();
        }
Exemple #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;
 }
 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;
 }