rake-dotnet 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/Rakefile +1 -1
- data/lib/rake_dotnet.rb +3 -3
- metadata +1 -1
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require 'hoe'
|
|
5
5
|
require 'Pathname'
|
6
6
|
require 'rake/clean'
|
7
7
|
|
8
|
-
Hoe.new('rake-dotnet', '0.0.
|
8
|
+
Hoe.new('rake-dotnet', '0.0.11') do |p|
|
9
9
|
p.author = 'Peter Mounce'
|
10
10
|
p.description = 'Making a .NET build-automation dev\'s life easier, one angle-bracket at a time'
|
11
11
|
p.email = 'pete@neverrunwithscissors.com'
|
data/lib/rake_dotnet.rb
CHANGED
@@ -523,7 +523,7 @@ module Rake
|
|
523
523
|
@bin_dir = params[:bin_dir] || File.join(OUT_DIR, 'bin')
|
524
524
|
@report_dir = params[:report_dir] || File.join(OUT_DIR, 'reports', 'ncover')
|
525
525
|
@deps = params[:deps] || []
|
526
|
-
tool_defaults = {:arch => '
|
526
|
+
tool_defaults = {:arch => ENV['PROCESSOR_ARCHITECTURE']}
|
527
527
|
@ncover_options = tool_defaults.merge(params[:ncover_options] || {})
|
528
528
|
@ncover_reporting_options = tool_defaults.merge(params[:ncover_reporting_options] || {})
|
529
529
|
|
@@ -586,7 +586,7 @@ end
|
|
586
586
|
class NCover
|
587
587
|
def initialize(report_dir, dll_to_execute, params)
|
588
588
|
params ||= {}
|
589
|
-
arch = params[:arch] || '
|
589
|
+
arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
|
590
590
|
@exe = params[:ncover_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.console.exe')
|
591
591
|
@dll_to_execute = dll_to_execute
|
592
592
|
ofname = File.split(dll_to_execute)[1].sub(/(\.dll)/, '') + '.coverage.xml'
|
@@ -629,7 +629,7 @@ class NCoverReporting
|
|
629
629
|
@coverage_files = coverage_files || []
|
630
630
|
|
631
631
|
params ||= {}
|
632
|
-
arch = params[:arch] || '
|
632
|
+
arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
|
633
633
|
@exe = params[:ncover_reporting_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.reporting.exe')
|
634
634
|
|
635
635
|
# required
|