grails@2.5: remove
This commit is contained in:
parent
7d806bbe43
commit
0879cf90fa
2 changed files with 0 additions and 28 deletions
|
@ -1 +0,0 @@
|
|||
../Formula/grails.rb
|
|
@ -1,27 +0,0 @@
|
|||
class GrailsAT25 < Formula
|
||||
desc "Web application framework for the Groovy language"
|
||||
homepage "https://grails.org"
|
||||
url "https://github.com/grails/grails-core/releases/download/v2.5.6/grails-2.5.6.zip"
|
||||
sha256 "58c1283d7748449bc3cecf8c9fe883157f2a279fa75ff14aa6d6388461527187"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on :java
|
||||
|
||||
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
|
||||
|
||||
test do
|
||||
ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp
|
||||
assert_match "Grails version: #{version}",
|
||||
shell_output("#{bin}/grails --version")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue