buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as...@apache.org
Subject svn commit: r753133 - /buildr/trunk/lib/buildr/core/generate.rb
Date Fri, 13 Mar 2009 05:50:29 GMT
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} ]



Mime
View raw message