lib/rake/funnel/support/msbuild/build_tool.rb in rake-funnel-0.22.1 vs lib/rake/funnel/support/msbuild/build_tool.rb in rake-funnel-0.22.2
- old
+ new
@@ -16,11 +16,11 @@
private
def mono
out, status = Open3.capture2('mono', '--version')
unless status.success?
- warn "Could not determine mono version: #{status}"
+ $stderr.print "Could not determine mono version: #{status}\n"
return nil
end
return 'msbuild'.freeze if out[/^Mono JIT compiler version ([\d\.]+)/, 1] >= '5.0'
@@ -38,10 +38,10 @@
-requires Microsoft.Component.MSBuild
-property installationPath)
path, status = Open3.capture2(*args)
unless status.success?
- warn "vswhere failed: #{status}"
+ $stderr.print "vswhere failed: #{status}\n"
return nil
end
Dir[File.join(Rake::Win32.normalize(path.strip),
'MSBuild/*/Bin/MSBuild.exe')]