rake-dotnet 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Rakefile.rb +1 -1
- data/coverage/index.html +9 -9
- data/coverage/lib-assemblyinfo_rb.html +1 -1
- data/coverage/lib-bcpcmd_rb.html +1 -1
- data/coverage/lib-cli_rb.html +1 -1
- data/coverage/lib-fxcop_rb.html +1 -1
- data/coverage/lib-harvester_rb.html +1 -1
- data/coverage/lib-iisappcmd_rb.html +1 -1
- data/coverage/lib-msbuild_rb.html +1 -1
- data/coverage/lib-ncover_rb.html +203 -202
- data/coverage/lib-package_rb.html +82 -82
- data/coverage/lib-sevenzip_rb.html +56 -56
- data/coverage/lib-sqlcmd_rb.html +71 -71
- data/coverage/lib-svn_rb.html +62 -62
- data/coverage/lib-version_rb.html +42 -42
- data/coverage/lib-xunit_rb.html +126 -126
- data/lib/rake_dotnet.rb +2 -4
- metadata +1 -1
data/lib/rake_dotnet.rb
CHANGED
@@ -770,8 +770,7 @@ class NCoverTask < Rake::TaskLib
|
|
770
770
|
@report_dir = params[:report_dir] || File.join(OUT_DIR, 'reports', 'ncover')
|
771
771
|
@deps = params[:deps] || []
|
772
772
|
tool_defaults = {:arch => ENV['PROCESSOR_ARCHITECTURE']}
|
773
|
-
|
774
|
-
puts 'NCOVER TD: ' + tool_defaults.to_s
|
773
|
+
@allow_iis_profiling = params[:allow_iis_profiling] || false
|
775
774
|
@profile_options = tool_defaults.merge(params[:profile_options] || {})
|
776
775
|
@reporting_options = tool_defaults.merge(params[:reporting_options] || {})
|
777
776
|
|
@@ -790,7 +789,7 @@ class NCoverTask < Rake::TaskLib
|
|
790
789
|
rule(/#{reports_dir_regex}\/.*\.coverage\.xml/) do |r|
|
791
790
|
dll_to_execute = r.name.sub(/#{@report_dir}\/(.*)\.coverage\.xml/, "#{@bin_dir}/\\1.dll")
|
792
791
|
if (shouldProfileIis(dll_to_execute))
|
793
|
-
@profile_options[:profile_iis] =
|
792
|
+
@profile_options[:profile_iis] = @allow_iis_profiling
|
794
793
|
end
|
795
794
|
nc = NCoverConsoleCmd.new(@report_dir, dll_to_execute, @profile_options)
|
796
795
|
nc.run
|
@@ -908,7 +907,6 @@ class NCoverReportingCmd
|
|
908
907
|
params ||= {}
|
909
908
|
arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
|
910
909
|
@exe = params[:ncover_reporting_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.reporting.exe')
|
911
|
-
puts 'NR: ' + params[:arch].to_s + ' ' + arch
|
912
910
|
|
913
911
|
@is_complete_version = `#{@exe}`.include?('NCover Reporting Complete v')
|
914
912
|
# required
|