sourcekitten 0.3.1 (new formula)

Closes Homebrew/homebrew#35926.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
JP Simard 2015-01-15 17:51:50 -08:00 committed by Mike McQuaid
parent 538110a2ea
commit f18125ce83

15
Formula/sourcekitten.rb Normal file
View file

@ -0,0 +1,15 @@
class Sourcekitten < Formula
homepage "https://github.com/jpsim/SourceKitten"
url "https://github.com/jpsim/SourceKitten.git", :tag => "0.3.1"
head "https://github.com/jpsim/SourceKitten.git"
depends_on :xcode => ["6.1.1", :build]
def install
system "make", "prefix_install", "PREFIX=#{prefix}", "TEMPORARY_FOLDER=#{buildpath}/SourceKitten.dst"
end
test do
system "#{bin}/sourcekitten", "syntax", "--text", "import Foundation // Hello World"
end
end