clang-format: use secure svn urls

This commit is contained in:
Viktor Szakats 2017-03-12 16:26:18 +00:00 committed by ilovezfs
parent d3e22754e7
commit 487d3361cd

View file

@ -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