dev 1.0.188 → 1.0.189
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/Paths.rb +2 -1
- metadata +1 -1
data/lib/dev/Paths.rb
CHANGED
@@ -26,7 +26,7 @@ class Paths < Hash
|
|
26
26
|
nunit="#{nunit_bin}/bin/nunit-console.exe" if nunit_bin.length > 3
|
27
27
|
nunitx86="#{nunit_bin}/bin/nunit-console-x86.exe" if nunit_bin.length > 3
|
28
28
|
|
29
|
-
if nunit.length==0
|
29
|
+
if nunit.length==0 || !File.exists?(nunit)
|
30
30
|
["2.6.0.12051","2.5.10.11092"].each{ |v|
|
31
31
|
Dir.glob("#{Dev::Environment.dev_root}/dep/*/NUnit/#{v}/bin/nunit-console.exe").each{|f|
|
32
32
|
nunit=f if File.exists?(f) && self[:nunit].nil?
|
@@ -48,6 +48,7 @@ class Paths < Hash
|
|
48
48
|
}
|
49
49
|
end
|
50
50
|
|
51
|
+
self[:nunit_bin]=nunit_bin
|
51
52
|
self[:nunit]=nunit
|
52
53
|
self[:nunitx86]=nunitx86
|
53
54
|
end
|