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/08/03 01:51:28 UTC
svn commit: r981709 - /buildr/trunk/lib/buildr/packaging/artifact.rb
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