Sha256: 71a238582c25139f8acfa401964ce3c1048df4e1de6ecc1d222cd2cf95501470

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 lib/albacore/config/ilmergeconfig.rb
albacore-1.0.0.rc.3 lib/albacore/config/ilmergeconfig.rb