ccls 0.20190314 (new formula)
Closes #38117. Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
parent
387a73b5f3
commit
4e9154450d
1 changed files with 21 additions and 0 deletions
21
Formula/ccls.rb
Normal file
21
Formula/ccls.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class Ccls < Formula
|
||||
desc "C/C++/ObjC language server"
|
||||
homepage "https://github.com/MaskRay/ccls"
|
||||
url "https://github.com/MaskRay/ccls/archive/0.20190314.tar.gz"
|
||||
sha256 "aaefa603a76325bb94e5222d144e19c432771346990c8b84165832bf37d15bb3"
|
||||
head "https://github.com/MaskRay/ccls.git"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "rapidjson" => :build
|
||||
depends_on "llvm"
|
||||
depends_on :macos => :high_sierra # C++ 17 is required
|
||||
|
||||
def install
|
||||
system "cmake", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"ccls", "-index=#{testpath}"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue