gre*_*owl 6 ruby homebrew ctags gnu-global
根据GNU Global 文档
# Installation of GLOBAL
# It assumed that ctags command is installed in '/usr/local/bin'.
$ ./configure --with-universal-ctags=/usr/local/bin/ctags
$ make
$ sudo make install
Run Code Online (Sandbox Code Playgroud)
我需要安装GNU Global标志--with-universal-ctags=/usr/local/bin/ctags以支持universal-ctags.
正常安装GNU Global使用(根据此来源)
# normal installation
brew install global
Run Code Online (Sandbox Code Playgroud)
因为酿造配方是形式的红宝石脚本(根据brew)
#Example with Wget
class Wget < Formula
homepage "https://www.gnu.org/software/wget/"
url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz"
sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd"
def install
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
end
Run Code Online (Sandbox Code Playgroud)
我应该这么做
# It assumed that ctags command is installed in '/usr/local/bin'.
brew install global --with-universal-ctags=/usr/local/bin/ctags
Run Code Online (Sandbox Code Playgroud)
使用universal-ctags支持安装全局?
注意:全局的正常安装似乎具有exuberant-ctags依赖性