homebrew-core/Formula/tailor.rb
Aditya Trivedi f5b0bcf4db tailor 0.2.1 (new formula)
Closes Homebrew/homebrew#45586.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-11-01 14:24:52 -08:00

21 lines
534 B
Ruby

class Tailor < Formula
desc "Static analyzer for Swift"
homepage "http://tailor.sh"
url "https://github.com/sleekbyte/tailor/releases/download/v0.2.1/tailor.tar"
version "0.2.1"
sha256 "9b6cb6f88aafcf5f6b4dfbc88c51f6af73d07c070eafe2d05409db84918cf17b"
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