homebrew-core/Formula/sourcekitten.rb
2016-05-31 17:43:03 +02:00

25 lines
798 B
Ruby

class Sourcekitten < Formula
desc "Framework and command-line tool for interacting with SourceKit"
homepage "https://github.com/jpsim/SourceKitten"
url "https://github.com/jpsim/SourceKitten.git",
:tag => "0.13.0",
:revision => "3a70e6b718908d20553df2351f209d966df0ead7"
head "https://github.com/jpsim/SourceKitten.git"
bottle do
cellar :any
sha256 "6a1b1dfd5844e55e6282f32e3ca743af19855a645f8c6ccbf57b8944a99e6904" => :el_capitan
end
depends_on :xcode => "7.3"
def install
system "make", "prefix_install", "PREFIX=#{prefix}", "TEMPORARY_FOLDER=#{buildpath}/SourceKitten.dst"
end
test do
# Rewrite test after sandbox issues investigated.
# https://github.com/Homebrew/homebrew/pull/50211
system "#{bin}/sourcekitten", "version"
end
end