You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2009/10/05 01:04:14 UTC

svn commit: r821636 - /buildr/trunk/rakelib/stage.rake

Author: boisvert
Date: Sun Oct  4 23:04:13 2009
New Revision: 821636

URL: http://svn.apache.org/viewvc?rev=821636&view=rev
Log:
Add check for 'prince' early in the stage process

Modified:
    buildr/trunk/rakelib/stage.rake

Modified: buildr/trunk/rakelib/stage.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/stage.rake?rev=821636&r1=821635&r2=821636&view=diff
==============================================================================
--- buildr/trunk/rakelib/stage.rake (original)
+++ buildr/trunk/rakelib/stage.rake Sun Oct  4 23:04:13 2009
@@ -62,6 +62,13 @@
     puts "[X] We have JRuby, Scala and Groovy"
   end.call
 
+  # Need Prince to generate PDF
+  lambda do
+    puts "Checking that we have prince available ... "
+    sh 'prince --version'
+    puts "[X] We have prince available"
+  end.call
+
   # Need RubyForge to upload new release files.
   lambda do
     puts "[!] Make sure you have admin privileges to make a release on RubyForge"