aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYasuyuki Oka2013-04-26 21:32:05 +0900
committerAdam Vandenberg2013-08-05 14:19:17 -0700
commit41c095eec35b3232e9b1a039bd4018a6f09793a4 (patch)
tree8c8631335300231010cdf4d8e22fde1f57d92505
parentfa3012199120ede702c9103166e1b042ae90912d (diff)
downloadhomebrew-41c095eec35b3232e9b1a039bd4018a6f09793a4.tar.bz2
New formula: emacs-clang-complete-async
emacs-clang-complete-async is an emacs extension to complete C and C++ code, it uses libclang to parse the source code on the fly and provides completion candidates to auto-complete. Closes #19449. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/emacs-clang-complete-async.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/emacs-clang-complete-async.rb b/Library/Formula/emacs-clang-complete-async.rb
new file mode 100644
index 000000000..142c01154
--- /dev/null
+++ b/Library/Formula/emacs-clang-complete-async.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class EmacsClangCompleteAsync < Formula
+ homepage 'https://github.com/Golevka/emacs-clang-complete-async'
+ url 'https://github.com/Golevka/emacs-clang-complete-async/archive/v0.5.zip'
+ sha1 'a95ad0d2336548a41049358cac4c1dfb29561349'
+
+ head 'https://github.com/Golevka/emacs-clang-complete-async.git'
+
+ option 'with-elisp', 'Include Emacs lisp package'
+
+ depends_on 'llvm' => 'with-clang'
+
+ def install
+ system "make"
+ bin.install "clang-complete"
+ share.install "auto-complete-clang-async.el" if build.include? 'with-elisp'
+ end
+end