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 2010/09/01 18:48:48 UTC

svn commit: r991601 - in /buildr/trunk: CHANGELOG lib/buildr/core/application.rb

Author: boisvert
Date: Wed Sep  1 16:48:47 2010
New Revision: 991601

URL: http://svn.apache.org/viewvc?rev=991601&view=rev
Log:
BUILDR-501 Fix buildr label when listing tasks (Peter Donald)

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/core/application.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=991601&r1=991600&r2=991601&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Wed Sep  1 16:48:47 2010
@@ -39,6 +39,7 @@
 * Fixed:  BUILDR-499 Java package caching through constants 
           e.g. (Java.java.lang.String cached as Java::Lang::String) 
           can shadow Ruby modules
+* Fixed:  BUILDR-501 Fix buildr label when listing tasks (Peter Donald)
 
 1.4.1 (2010-07-07)
 * Added:  BUILDR-420 Support external compiler

Modified: buildr/trunk/lib/buildr/core/application.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/application.rb?rev=991601&r1=991600&r2=991601&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/application.rb (original)
+++ buildr/trunk/lib/buildr/core/application.rb Wed Sep  1 16:48:47 2010
@@ -483,7 +483,7 @@ module Buildr
         width = displayable_tasks.collect { |t| t.name_with_args.length }.max || 10
         max_column = truncate_output? ? terminal_width - name.size - width - 7 : nil
         displayable_tasks.each do |t|
-          printf "#{name} %-#{width}s  # %s\n",
+          printf "buildr %-#{width}s  # %s\n",
             t.name_with_args, max_column ? truncate(t.comment, max_column) : t.comment
         end
       end