homebrew-core/Formula/tailor.rb
Sleekbot 6c63222229 tailor 0.3.0
Closes Homebrew/homebrew#46296.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-24 01:59:40 +00:00

20 lines
523 B
Ruby

class Tailor < Formula
desc "Static analyzer for Swift"
homepage "https://tailor.sh"
url "https://github.com/sleekbyte/tailor/releases/download/v0.3.0/tailor-0.3.0.tar"
sha256 "ecb9aeb9f7f7a6fd602a836c7caab21b655391ec6115eda41b763c4dfff3936e"
bottle :unneeded
depends_on :java => "1.8+"
def install
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/tailor"
end
test do
(testpath/"Test.swift").write "import Foundation\n"
system "#{bin}/tailor", testpath/"Test.swift"
end
end