Exemple #1
0
        // Helpers for adding pipelines from modules

        private static Bootstrapper AddPipeline(
            this Bootstrapper bootstrapper,
            IEnumerable <string> dependencies,
            bool isolated,
            string name,
            IEnumerable <IModule> inputModules,
            IEnumerable <IModule> processModules,
            IEnumerable <IModule> transformModules,
            IEnumerable <IModule> outputModules) =>
        bootstrapper.BuildPipeline(name, builder =>
        {
            ConfigureBuilder(builder, dependencies, isolated)
            .WithInputModules(inputModules)
            .WithProcessModules(processModules)
            .WithTransformModules(transformModules)
            .WithOutputModules(outputModules);
        });
Exemple #2
0
 private static Bootstrapper AddPipeline(
     this Bootstrapper bootstrapper,
     IEnumerable <string> dependencies,
     bool isolated,
     string name,
     string readFilesPattern,
     Config <NormalizedPath> destinationPath,
     IEnumerable <IModule> processModules,
     IEnumerable <IModule> transformModules) =>
 bootstrapper.BuildPipeline(name, builder =>
 {
     ConfigureBuilder(builder, dependencies, isolated)
     .WithProcessModules(processModules)
     .WithTransformModules(transformModules)
     .WithOutputWriteFiles(destinationPath);
     if (readFilesPattern != null)
     {
         builder.WithInputReadFiles(readFilesPattern);
     }
 });