Sha256: 802a772a36cf21ee3ff4786cb73426ba4b4d6747057aa9c4731c33172f6fef6b
Contents?: true
Size: 929 Bytes
Versions: 6
Compression:
Stored size: 929 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/v4.0.30319/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.command = path_to_msbuild end @msbuild.extend(SystemPatch) @msbuild end end
Version data entries
6 entries across 6 versions & 1 rubygems