cquery 20180302 (new formula)
Closes #25911. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
22e63aa5f1
commit
f44fb6f4a9
1 changed files with 18 additions and 0 deletions
18
Formula/cquery.rb
Normal file
18
Formula/cquery.rb
Normal 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
|
Loading…
Reference in a new issue