homebrew-core/Formula/tailor.rb
Sleekbot 088dea3d22 tailor 0.9.0
Closes #563.

Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-23 18:27:41 -04: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.9.0/tailor-0.9.0.tar"
sha256 "06ba04c561d50900364459743b720b58cbfbc488902dde6fe203d06ec691611a"
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