Sha256: 93ca521d282a66e9237b4932a67e948c0cfc68f391ba756e3e6aca77d9cc246c
Contents?: true
Size: 897 Bytes
Versions: 10
Compression:
Stored size: 897 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
10 entries across 10 versions & 1 rubygems