You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by as...@apache.org on 2009/03/13 06:50:29 UTC

svn commit: r753133 - /buildr/trunk/lib/buildr/core/generate.rb

Author: assaf
Date: Fri Mar 13 05:50:28 2009
New Revision: 753133

URL: http://svn.apache.org/viewvc?rev=753133&view=rev
Log:
Fixed flawed indentation when generating buildfile.

Modified:
    buildr/trunk/lib/buildr/core/generate.rb

Modified: buildr/trunk/lib/buildr/core/generate.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/generate.rb?rev=753133&r1=753132&r2=753133&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/generate.rb (original)
+++ buildr/trunk/lib/buildr/core/generate.rb Fri Mar 13 05:50:28 2009
@@ -47,22 +47,22 @@
           if root
             script = HEADER.split("\n")
             header = <<-EOF
-  # Version number for this release
-  VERSION_NUMBER = "1.0.0"
-  # Group identifier for your projects
-  GROUP = "#{name}"
-  COPYRIGHT = ""
-
-  # Specify Maven 2.0 remote repositories here, like this:
-  repositories.remote << "http://www.ibiblio.org/maven2/"
-
-  desc "The #{name.capitalize} project"
-  define "#{name}" do
-
-    project.version = VERSION_NUMBER
-    project.group = GROUP
-    manifest["Implementation-Vendor"] = COPYRIGHT
-  EOF
+# Version number for this release
+VERSION_NUMBER = "1.0.0"
+# Group identifier for your projects
+GROUP = "#{name}"
+COPYRIGHT = ""
+
+# Specify Maven 2.0 remote repositories here, like this:
+repositories.remote << "http://www.ibiblio.org/maven2/"
+
+desc "The #{name.capitalize} project"
+define "#{name}" do
+
+  project.version = VERSION_NUMBER
+  project.group = GROUP
+  manifest["Implementation-Vendor"] = COPYRIGHT
+            EOF
             script += header.split("\n")
           else
             script = [ %{define "#{name}" do} ]