lib/rake/funnel/integration/teamcity/nunit_plugin.rb in rake-funnel-0.22.1 vs lib/rake/funnel/integration/teamcity/nunit_plugin.rb in rake-funnel-0.22.2

- old
+ new

@@ -26,29 +26,29 @@ def read_version(executable) nunit = Rake::Funnel::Support::Which.which(executable) || return version = Rake::Funnel::Support::BinaryVersionReader.read_from(nunit) unless version.file_version - Rake.rake_output_message("Could read version from NUnit executable in #{nunit}") + $stderr.print("Could read version from NUnit executable in #{nunit}\n") return end [nunit, version.file_version.split('.').take(3).join('.')] end def find_teamcity_addins(addins, version) addin_files = Dir.glob("#{addins}-#{version}.*") if addin_files.none? - Rake.rake_output_message("Could not find TeamCity NUnit addin for version #{version} in #{addins}") + $stderr.print("Could not find TeamCity NUnit addin for version #{version} in #{addins}\n") return end addin_files end def copy_addin_files(nunit, addin_files, version) - Rake.rake_output_message("Installing TeamCity NUnit addin for version #{version} in #{nunit}") + $stderr.print("Installing TeamCity NUnit addin for version #{version} in #{nunit}\n") destination = File.join(File.dirname(nunit), 'addins') RakeFileUtils.mkdir_p(destination) RakeFileUtils.cp(addin_files, destination, preserve: true)