llnode: fix lldb resource for Xcode < 8.0.

Closes #7137.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Fedor Indutny 2016-11-21 19:32:55 -05:00 committed by Mike McQuaid
parent 5ef9116686
commit f399eaccf3

View file

@ -20,8 +20,17 @@ class Llnode < Formula
end
resource "lldb" do
if MacOS::Xcode.version >= "8.0"
# lldb 360.1
url "https://github.com/llvm-mirror/lldb.git",
:revision => "839b868e2993dcffc7fea898a1167f1cec097a82"
else
# It claims it to be lldb 350.0 for Xcode 7.3, but in fact it is based
# of 34.
# Xcode < 7.3 uses 340.4, so I assume we should be safe to go with this.
url "http://llvm.org/svn/llvm-project/lldb/tags/RELEASE_34/final/",
:using => :svn
end
end
def install