Sha256: 787a7df567ee4071bc30c4a4316462c73b5aea7726a5ee82708b1c7f01b2e8dc

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require 'albacore/support/openstruct'

module Configuration
  module NUnit
    @config = OpenStruct.new.extend(OpenStructToHash).extend(NUnit)
    def self.nunitconfig
      @config
    end

    def nunit
      config = NUnit.nunitconfig
      yield(config) if block_given?
      config
    end
  end
end

class Albacore::Configuration
  include Configuration::NUnit
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
albacore-0.2.0.preview1 lib/albacore/config/nunitconfig.rb