homebrew-core/Formula/sourcekitten.rb
2016-11-08 09:21:27 +00:00

26 lines
887 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.15.0",
:revision => "f28addc1441478a54f4b1556d3a15f238f0c8dee"
head "https://github.com/jpsim/SourceKitten.git"
bottle do
cellar :any
sha256 "100fe747a3a525dd0d7b385f6240172faca69c5f17008fc099bab90d09e5f5cb" => :sierra
sha256 "94f1685fde91ca52091fae19604f6e4c5ccfd1983d268b9081b5a34ea7f1a16e" => :el_capitan
end
depends_on :xcode => "8.0"
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