homebrew-core/Formula/ringojs.rb
herrernst 07d06fd362 ringojs: skip_clean packages directory
Prevent removal of 'packages' dir, it is needed if you want install
packages later.

Closes Homebrew/homebrew#18161.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-02 23:13:29 -06:00

15 lines
342 B
Ruby

require 'formula'
class Ringojs < Formula
homepage 'http://ringojs.org'
url 'http://ringojs.org/downloads/ringojs-0.9.tar.gz'
sha1 '1b0b7efcad323d5dd7ce3b1dbdfc079914e8713a'
skip_clean 'libexec/packages'
def install
rm Dir['bin/*.cmd']
libexec.install Dir['*']
bin.write_exec_script Dir["#{libexec}/bin/*"]
end
end