如何使用Homebrew安装具有通用ctags支持的GNU Global?

时间:2017-03-08 01:59:36

标签: ruby homebrew ctags gnu-global

根据GNU Global documentation

# 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

我需要使用标记GNU Global安装--with-universal-ctags=/usr/local/bin/ctags以支持universal-ctags。

GNU Global的正常安装是使用(根据此source

完成的
# normal installation
brew install global

因为brew公式是表单的ruby脚本(根据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

我应该做什么

# It assumed that ctags command is installed in '/usr/local/bin'.
brew install global --with-universal-ctags=/usr/local/bin/ctags

使用universal-ctags支持安装全局?

注意:global的正常安装似乎有exuberant-ctags作为依赖

0 个答案:

没有答案