Class: Rake::Pipeline::PipelineFinalizingFilter

Inherits:
ConcatFilter show all
Defined in:
lib/rake-pipeline/filters/pipeline_finalizing_filter.rb

Overview

A built-in filter that copies a pipeline's generated files over to its output.

Instance Attribute Summary

Attributes inherited from Filter

#file_wrapper_class, #last_manifest, #manifest, #output_name_generator, #output_root, #pipeline, #rake_application, #rake_tasks

Instance Method Summary collapse

Methods inherited from ConcatFilter

#encoding, #generate_output, #initialize

Methods inherited from Filter

#additional_dependencies, #generate_rake_tasks, #initialize, #output_files, #outputs, processes_binary_files

Constructor Details

This class inherits a constructor from Rake::Pipeline::ConcatFilter

Instance Method Details

#input_filesArray[FileWrapper]

output files, excluding any files that were originally inputs to the pipeline, meaning they weren't processed by any filter and should not be copied to the output.

Returns:


14
15
16
17
18
# File 'lib/rake-pipeline/filters/pipeline_finalizing_filter.rb', line 14

def input_files
  pipeline_input_files = Set.new pipeline.input_files

  Set.new(super) - pipeline_input_files
end