dev 1.0.74 → 1.0.75
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/Project.rb +2 -1
- metadata +1 -1
data/lib/dev/Project.rb
CHANGED
@@ -424,7 +424,8 @@ class Project < Hash
|
|
424
424
|
if self[:type]=="C#"
|
425
425
|
Dir.glob("*.{Test.csproj,Features.csproj}").each { |cs|
|
426
426
|
dll_name="bin/x86/Release/#{File.basename(cs,'.csproj')}.dll"
|
427
|
-
array << "\"<paths,nunit>\" /nologo #{dll_name} /xml:#{dll_name}.nunit-results.xml"
|
427
|
+
array << "\"<paths,nunit>\" /nologo #{dll_name} /xml:#{dll_name}.nunit-results.xml" if RUBY_PLATFORM.include?("w32")
|
428
|
+
array << "mono \"<paths,nunit>\" #{dll_name} /xml:#{dll_name}.nunit-results.xml" if !RUBY_PLATFORM.include?("w32")
|
428
429
|
}
|
429
430
|
end
|
430
431
|
|