Sha256: b0ecc36a4a53c427ebbfadf35f6478c1d954df9a0a2367fec776ea643e811392

Contents?: true

Size: 817 Bytes

Versions: 12

Compression:

Stored size: 817 Bytes

Contents

require 'albacore/nant'

class NAntTestData
  
  attr_accessor :nant_path, :build_file_path, :output_path
  
  def initialize(config_mode='Debug',version='0.0.1')
    @config_mode = config_mode
    @version = version
    
    @nant_path = File.join(File.dirname(__FILE__), "Tools", "NAnt-0.85", "bin", "NAnt.exe")
    @build_file_path = File.join(File.dirname(__FILE__), "TestSolution", "TestSolution.build")
    setup_output
  end
  
  def setup_output
    @output_root = File.join(File.dirname(__FILE__), "TestSolution", "out")
    @output_path = File.join(@output_root, "#{@version}", "#{@config_mode}")
    clean_output
  end
  
  def clean_output
    FileUtils.rm_rf @output_root
  end
  
  def nant
    @nant = NAnt.new
    
    @nant.extend(SystemPatch)
    @nant
  end
  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
albacore-0.2.5 spec/support/nanttestdata.rb
albacore-0.2.4 spec/support/nanttestdata.rb
albacore-0.2.3 spec/support/nanttestdata.rb
albacore-0.2.2 spec/support/nanttestdata.rb
albacore-0.2.0.preview2 spec/support/nanttestdata.rb
albacore-0.2.0.preview1 spec/support/nanttestdata.rb
albacore-0.1.5 spec/support/nanttestdata.rb
albacore-0.1.4 spec/support/nanttestdata.rb
albacore-0.1.3 spec/support/nanttestdata.rb
albacore-0.1.2 spec/support/nanttestdata.rb
albacore-0.1.1 spec/support/nanttestdata.rb
albacore-0.1.0 spec/support/nanttestdata.rb