Sha256: 2bd34de28595ecd9b0fc56bcfa2cf6e159e3e45695c34348e7fb2b7d7cc5590a

Contents?: true

Size: 784 Bytes

Versions: 10

Compression:

Stored size: 784 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

10 entries across 10 versions & 1 rubygems

Version Path
albacore-0.3.6 spec/support/nanttestdata.rb
albacore-1.0.0.rc.2 spec/support/nanttestdata.rb
albacore-1.0.0.rc.1 spec/support/nanttestdata.rb
albacore-0.3.5 spec/support/nanttestdata.rb
albacore-0.3.4 spec/support/nanttestdata.rb
albacore-0.3.3 spec/support/nanttestdata.rb
albacore-0.3.2 spec/support/nanttestdata.rb
albacore-0.3.1 spec/support/nanttestdata.rb
albacore-0.3.0 spec/support/nanttestdata.rb
albacore-0.2.6 spec/support/nanttestdata.rb