Permalink
Browse files

Fix indentation

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@981709 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 36ab7a5 commit b8e8b3178c1c94d858659d356f7d3e0f8cf93c97 Alex Boisvert committed Aug 2, 2010
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/buildr/packaging/artifact.rb
View
10 lib/buildr/packaging/artifact.rb
@@ -41,7 +41,7 @@ module ActsAsArtifact
class << self
private
-
+
# :stopdoc:
def included(mod)
mod.extend self
@@ -60,7 +60,7 @@ def extended(base)
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 @@ def from(path)
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

0 comments on commit b8e8b31

Please sign in to comment.