buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r981709 - /buildr/trunk/lib/buildr/packaging/artifact.rb
Date Mon, 02 Aug 2010 23:51:28 GMT
Author: boisvert
Date: Mon Aug  2 23:51:27 2010
New Revision: 981709

URL: http://svn.apache.org/viewvc?rev=981709&view=rev
Log:
Fix indentation

Modified:
    buildr/trunk/lib/buildr/packaging/artifact.rb

Modified: buildr/trunk/lib/buildr/packaging/artifact.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/packaging/artifact.rb?rev=981709&r1=981708&r2=981709&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/packaging/artifact.rb (original)
+++ buildr/trunk/lib/buildr/packaging/artifact.rb Mon Aug  2 23:51:27 2010
@@ -41,7 +41,7 @@ module Buildr
 
     class << self
     private
-    
+
       # :stopdoc:
       def included(mod)
         mod.extend self
@@ -60,7 +60,7 @@ module Buildr
         base.instance_eval { alias :uninstall :uninstall_old } if base.respond_to? :uninstall_old
         base.instance_eval { alias :upload :upload_old       } if base.respond_to? :upload_old
       end
-      
+
       # :startdoc:
     end
 
@@ -363,11 +363,11 @@ module Buildr
       unless type == :pom
         pom.enhance do
           unless pom.exist?
-          mkpath File.dirname(pom.name)
-          File.open(pom.name, 'w') { |file| file.write pom.pom_xml }
+            mkpath File.dirname(pom.name)
+            File.open(pom.name, 'w') { |file| file.write pom.pom_xml }
+          end
         end
       end
-      end
       self
     end
 



Mime
View raw message