Sha256: 495718a28b1a88a715ba20e370305c6a5a19250e30602907aab8bb492a57f99b

Contents?: true

Size: 511 Bytes

Versions: 9

Compression:

Stored size: 511 Bytes

Contents

 require 'ostruct'
require 'albacore/config/netversion'
require 'albacore/support/openstruct'

module Configuration
  module ILMerge
    include Albacore::Configuration
    
    def self.ilmergeconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(ILMerge)
    end
    
    def ilmerge
      config ||= ILMerge.ilmergeconfig
      yield(config) if block_given?
      config
    end
    
    def use_resolver r
      self.ilmergeconfig.resolver = r
    end
    
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
albacore-0.3.6 lib/albacore/config/ilmergeconfig.rb
albacore-1.0.0.rc.2 lib/albacore/config/ilmergeconfig.rb
albacore-1.0.0.rc.1 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.5 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.4 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.3 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.2 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.1 lib/albacore/config/ilmergeconfig.rb
albacore-0.3.0 lib/albacore/config/ilmergeconfig.rb