Sha256: 38ed5738673dff3e11f913b2a42598874b06fcb1b650e0e1e7a07f89cca72786

Contents?: true

Size: 882 Bytes

Versions: 8

Compression:

Stored size: 882 Bytes

Contents

require 'xcres/analyzer/aggregate_analyzer'
require 'xcres/analyzer/resources_analyzer/bundle_resources_analyzer'
require 'xcres/analyzer/resources_analyzer/loose_resources_analyzer'
require 'xcres/analyzer/resources_analyzer/xcassets_analyzer'

module XCRes

  # 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+
  #
  class ResourcesAggregateAnalyzer < AggregateAnalyzer

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

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcres-0.6.1 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.6.0 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.5.0 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.4.4 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.4.3 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.4.2 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.4.1 lib/xcres/analyzer/resources_aggregate_analyzer.rb
xcres-0.4.0 lib/xcres/analyzer/resources_aggregate_analyzer.rb