clang-format: use secure svn urls
This commit is contained in:
parent
d3e22754e7
commit
487d3361cd
1 changed files with 20 additions and 4 deletions
|
@ -4,10 +4,18 @@ class ClangFormat < Formula
|
|||
version "2016-12-09"
|
||||
|
||||
stable do
|
||||
url "http://llvm.org/svn/llvm-project/llvm/tags/google/stable/2016-12-09/", :using => :svn
|
||||
if MacOS.version >= :sierra
|
||||
url "https://llvm.org/svn/llvm-project/llvm/tags/google/stable/2016-12-09/", :using => :svn
|
||||
else
|
||||
url "http://llvm.org/svn/llvm-project/llvm/tags/google/stable/2016-12-09/", :using => :svn
|
||||
end
|
||||
|
||||
resource "clang" do
|
||||
url "http://llvm.org/svn/llvm-project/cfe/tags/google/stable/2016-12-09/", :using => :svn
|
||||
if MacOS.version >= :sierra
|
||||
url "https://llvm.org/svn/llvm-project/cfe/tags/google/stable/2016-12-09/", :using => :svn
|
||||
else
|
||||
url "http://llvm.org/svn/llvm-project/cfe/tags/google/stable/2016-12-09/", :using => :svn
|
||||
end
|
||||
end
|
||||
|
||||
resource "libcxx" do
|
||||
|
@ -24,10 +32,18 @@ class ClangFormat < Formula
|
|||
end
|
||||
|
||||
head do
|
||||
url "http://llvm.org/svn/llvm-project/llvm/trunk/", :using => :svn
|
||||
if MacOS.version >= :sierra
|
||||
url "https://llvm.org/svn/llvm-project/llvm/trunk/", :using => :svn
|
||||
else
|
||||
url "http://llvm.org/svn/llvm-project/llvm/trunk/", :using => :svn
|
||||
end
|
||||
|
||||
resource "clang" do
|
||||
url "http://llvm.org/svn/llvm-project/cfe/trunk/", :using => :svn
|
||||
if MacOS.version >= :sierra
|
||||
url "https://llvm.org/svn/llvm-project/cfe/trunk/", :using => :svn
|
||||
else
|
||||
url "http://llvm.org/svn/llvm-project/cfe/trunk/", :using => :svn
|
||||
end
|
||||
end
|
||||
|
||||
resource "libcxx" do
|
||||
|
|
Loading…
Reference in a new issue