homebrew-core/Formula/redcar.rb
Adam Vandenberg ab643771fb brew-audit - check for commented-out dependencies
"brew audit" will now warn about commented-out dependencies.

Updated formulae that had these to either take them out or rewrite
the comments around them.
2010-09-13 15:16:09 -07:00

23 lines
573 B
Ruby

require 'formula'
class Redcar <Formula
head 'git://github.com/danlucraft/redcar.git'
homepage 'http://github.com/danlucraft/redcar'
depends_on 'jruby'
depends_on 'cucumber' => :jruby
def install
puts "You need the RSpec gem installed under JRuby or this will not work."
system "jruby bin/redcar install"
system "jruby -S rake build"
libexec.install ['bin', 'lib', 'plugins', 'textmate', 'vendor']
(bin+'redcar').write <<-EOS
#!/bin/bash
jruby -J-XstartOnFirstThread \"#{libexec}/bin/redcar\"
EOS
chmod 0555, (bin+'redcar')
end
end