Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Grails 2.1.x Formula #92

Closed
wants to merge 1 commit into from

2 participants

@dennislaumen

Homebrew offers Grails versions 2.1.3 and 2.2 and up. As I needed Grails 2.1.4 I thought it most appropriate to introduce a new version in the homebrew-versions repository (please point me to the right place if homebrew-versions isn't the correct location).

@jacknagel
Owner

Perfect, thanks.

@jacknagel jacknagel closed this pull request from a commit
@dennislaumen dennislaumen New formula: Grails 2.1.x
Closes #92.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
a580243
@jacknagel jacknagel closed this in a580243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2013
  1. @dennislaumen
This page is out of date. Refresh to see the latest.
Showing with 18 additions and 0 deletions.
  1. +18 −0 grails21.rb
View
18 grails21.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Grails21 < Formula
+ homepage 'http://grails.org'
+ url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.1.4.zip'
+ sha1 '049f1444a1d95dbf48e268acd9d1eef42c845da6'
+
+ 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.