Skip to content
Browse files

grails 2.0.4

Closes #25.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent 092026d commit afb234e52bae39df6aa4a2b618e9c15e6db314d6 @superflav superflav committed with jacknagel
Showing with 18 additions and 0 deletions.
  1. +18 −0 grails20.rb
View
18 grails20.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Grails20 < Formula
+ homepage 'http://grails.org'
+ url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.0.4.zip'
+ sha1 '8a7a0edf83f1890f87bda5ee316e35cc608e2ebd'
+
+ 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

0 comments on commit afb234e

Please sign in to comment.
Something went wrong with that request. Please try again.