Sha256: e646788f8429120e9c064090a518b9bf097409ea59c94e59f4898201cff5313d
Contents?: true
Size: 885 Bytes
Versions: 3
Compression:
Stored size: 885 Bytes
Contents
require 'albacore/msbuild' class MSBuildTestData attr_accessor :msbuild_path, :solution_path, :config_mode, :output_path def initialize(config_mode='Debug') @solution_path = File.join(File.dirname(__FILE__), "../", "support", "TestSolution", "TestSolution.sln") @msbuild_path = "C:\\Windows/Microsoft.NET/Framework/v3.5/MSBuild.exe" @config_mode = config_mode setup_output end def setup_output @output_path = File.join(File.dirname(__FILE__), "../", "support", "TestSolution", "TestSolution", "bin", "#{@config_mode}", "TestSolution.dll") File.delete @output_path if File.exist? @output_path end def msbuild(path_to_msbuild=nil) @msbuild = MSBuild.new if (path_to_msbuild) @msbuild_path = path_to_msbuild (@msbuild.path_to_command = path_to_msbuild) end @msbuild.extend(SystemPatch) @msbuild end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | spec/support/msbuildtestdata.rb |
albacore-0.0.8 | spec/support/msbuildtestdata.rb |
albacore-0.0.7 | spec/support/msbuildtestdata.rb |