homebrew-core/Formula/tailor.rb
Sleekbot df7a6d73df tailor 0.5.0
Closes Homebrew/homebrew#48662.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-31 14:15:45 +00:00

21 lines
585 B
Ruby

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