Class: XCRes::ResourcesAggregateAnalyzer

Inherits:
AggregateAnalyzer show all
Defined in:
lib/xcres/analyzer/resources_aggregate_analyzer.rb

Overview

A ResourcesAnalyzer scans the project for resources, which should be included in the output file.

It is a AggregateAnalyzer, which uses the following child analyzers:

* +XCRes::ResourcesAnalyzer::BundleResourcesAnalyzer+
* +XCRes::ResourcesAnalyzer::LooseResourcesAnalyzer+

Instance Attribute Summary

Attributes inherited from AggregateAnalyzer

#analyzers

Attributes inherited from Analyzer

#exclude_file_patterns, #logger, #options, #sections, #target

Instance Method Summary collapse

Methods inherited from AggregateAnalyzer

#add_with_class, #initialize

Methods inherited from Analyzer

#filter_exclusions, #find_file_refs_by_extname, #initialize, #is_file_ref_included_in_application_target?, #new_section, #project, #resources_files

Methods included from FileHelper

#basename_without_ext

Constructor Details

This class inherits a constructor from XCRes::AggregateAnalyzer

Instance Method Details

#analyzeObject



17
18
19
20
21
22
23
# File 'lib/xcres/analyzer/resources_aggregate_analyzer.rb', line 17

def analyze
  self.analyzers = []
  add_with_class ResourcesAnalyzer::BundleResourcesAnalyzer
  add_with_class ResourcesAnalyzer::LooseResourcesAnalyzer
  add_with_class ResourcesAnalyzer::XCAssetsAnalyzer
  super
end