270121c27f
Closes Homebrew/homebrew#34382. The .jar elements in bin seem to be mandatory now, roo errors out and refuses to load without them: ``` Error: Could not find or load main class org.springframework.roo.bootstrap.Main ``` To deal with this I’ve sandboxed the directory and scripted them into the bin. Closes Homebrew/homebrew#34935. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
15 lines
467 B
Ruby
15 lines
467 B
Ruby
require "formula"
|
|
|
|
class SpringRoo < Formula
|
|
homepage "http://www.springsource.org/spring-roo"
|
|
url "http://spring-roo-repository.springsource.org.s3.amazonaws.com/release/ROO/spring-roo-1.3.0.RELEASE.zip"
|
|
sha1 "bae2df35a96eff5c348bb8f00ce739572c33959e"
|
|
version "1.3.0"
|
|
|
|
def install
|
|
rm Dir["bin/*.bat"]
|
|
libexec.install Dir["*"]
|
|
File.rename "#{libexec}/bin/roo.sh", "#{libexec}/bin/roo"
|
|
bin.write_exec_script Dir["#{libexec}/bin/*"]
|
|
end
|
|
end
|