cquery 20180302 (new formula)

Closes #25911.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Xu Cheng 2018-03-29 17:09:07 +08:00 committed by FX Coudert
parent 22e63aa5f1
commit f44fb6f4a9

18
Formula/cquery.rb Normal file
View file

@ -0,0 +1,18 @@
class Cquery < Formula
desc "C/C++ language server"
homepage "https://github.com/cquery-project/cquery"
# pull from git tag to get submodules
url "https://github.com/cquery-project/cquery.git", :tag => "v20180302",
:revision => "f3e9e756e182b122bef8826a77047f6ccf5529b6"
head "https://github.com/cquery-project/cquery.git"
def install
system "./waf", "configure", "--prefix=#{prefix}"
system "./waf", "build"
system "./waf", "install"
end
test do
system bin/"cquery", "--test-unit"
end
end