homebrew-core/Formula/sourcekitten.rb
2016-04-21 09:30:15 +01:00

23 lines
796 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.12.1", :revision => "4749ef6230c43d19d153cea930fc5a6d0a195ef4"
head "https://github.com/jpsim/SourceKitten.git"
bottle do
cellar :any
sha256 "eadbbf41150795d777d92834add1c240ef331aa61f158cbd245a993b353c6e0d" => :el_capitan
end
depends_on :xcode => ["7.3", :build]
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