Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

homebrew-versions formula for Grails 2.0.4 #25

Closed
wants to merge 1 commit into from

2 participants

@superflav

No description provided.

@jacknagel
Owner

Would rather add a "grails20" formula so we don't end up with separate formula for 2.0.5, etc.

@jacknagel jacknagel closed this pull request from a commit
@superflav superflav grails 2.0.4
Closes #25.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
afb234e
@jacknagel jacknagel closed this in afb234e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 24, 2012
  1. @superflav
This page is out of date. Refresh to see the latest.
Showing with 18 additions and 0 deletions.
  1. +18 −0 grails204.rb
View
18 grails204.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Grails204 < Formula
+ homepage 'http://grails.org'
+ url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.0.4.zip'
+ md5 '91fa37b7425b2a58ad9a69667418c73a'
+
+ def install
+ rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
+ prefix.install %w[LICENSE README]
+ libexec.install Dir['*']
+ bin.mkpath
+ Dir["#{libexec}/bin/*"].each do |f|
+ next unless File.extname(f).empty?
+ ln_s f, bin+File.basename(f)
+ end
+ end
+end
Something went wrong with that request. Please try again.