homebrew-core/Formula/zinc.rb

19 lines
483 B
Ruby

class Zinc < Formula
desc "Stand-alone version of sbt's Scala incremental compiler"
homepage "https://github.com/typesafehub/zinc"
url "https://downloads.typesafe.com/zinc/0.3.9/zinc-0.3.9.tgz"
sha256 "29dd3078d8b01c14231ed92f2d1abfca62cd4b63fd69505ff7abaa39f1193325"
bottle :unneeded
def install
rm_f Dir["bin/ng/{linux,win}*"]
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/zinc"
end
test do
system "#{bin}/zinc", "-version"
end
end