Author: donaldp
Date: Thu May 3 23:42:55 2012
New Revision: 1333684
URL: http://svn.apache.org/viewvc?rev=1333684&view=rev
Log:
Improve the way pygmentize is detected to be less noisy
Modified:
buildr/trunk/rakelib/doc.rake
Modified: buildr/trunk/rakelib/doc.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/doc.rake?rev=1333684&r1=1333683&r2=1333684&view=diff
==============================================================================
--- buildr/trunk/rakelib/doc.rake (original)
+++ buildr/trunk/rakelib/doc.rake Thu May 3 23:42:55 2012
@@ -66,8 +66,8 @@ if !RUBY_PLATFORM[/java/]
puts "Buildr uses the jekyll gem to generate the Web site. You can install
it by running bundler"
end
- if system("pygmentize -V")
- puts "Buildr uses the Pygments python library. You can install it by
running 'sudo easy_install Pygments'"
+ if 0 == system("pygmentize -V > /dev/null 2> /dev/null")
+ puts "Buildr uses the Pygments python library. You can install it by
running 'sudo easy_install Pygments' or 'sudo apt-get install python-pygments'"
end
desc "Generate Buildr documentation as buildr.pdf"