Sha256: 048e17721748d89a2ec810451d179929a35317a20cc0785b7099deb8e73816e4

Contents?: true

Size: 421 Bytes

Versions: 11

Compression:

Stored size: 421 Bytes

Contents

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

module Configuration
  module NuGetPublish
    include Albacore::Configuration

    def self.nugetpublishconfig
      @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPublish)
    end

    def nugetpublish
      @config ||= NuGetPublish.nugetpublishconfig
      yield(@config) if block_given?
      @config
    end
    
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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