homebrew-core/Formula/narwhal.rb

14 lines
276 B
Ruby
Raw Normal View History

require 'formula'
class Narwhal <Formula
head 'git://github.com/tlrobinson/narwhal.git'
homepage 'http://www.narwhaljs.org/'
def install
rm Dir['bin/*.cmd']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each { |d| ln_s d, bin }
end
end