sourcekitten 0.3.1 (new formula)
Closes Homebrew/homebrew#35926. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
538110a2ea
commit
f18125ce83
1 changed files with 15 additions and 0 deletions
15
Formula/sourcekitten.rb
Normal file
15
Formula/sourcekitten.rb
Normal 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
|
Loading…
Reference in a new issue