Sha256: e9801bb4be6165eaa4d5bf5e28bcee587e061b13bdb48dee320b6c35647eea5b

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module NuGetPack
    include Albacore::Configuration

    def self.nugetpackconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPack)
    end

    def nugetpack
      @config ||= NuGetPack.nugetpackconfig
      yield(@config) if block_given?
      @config
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/nugetpackconfig.rb
albacore-0.2.4 lib/albacore/config/nugetpackconfig.rb
albacore-0.2.3 lib/albacore/config/nugetpackconfig.rb