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.2", :revision => "cb35dd8a3850b69bf612ef6fd7d5078123662bd6" head "https://github.com/jpsim/SourceKitten.git" bottle do cellar :any sha256 "7ae7965d52fd6fa215eb4dc7afa40f114d4dac6dbd2c21448e4026ba082da1f1" => :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