Skip to content

Instantly share code, notes, and snippets.

@reborg
Created March 8, 2012 06:30
Show Gist options
  • Select an option

  • Save reborg/1999186 to your computer and use it in GitHub Desktop.

Select an option

Save reborg/1999186 to your computer and use it in GitHub Desktop.

Revisions

  1. reborg revised this gist Mar 8, 2012. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions ctags.rb
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    # Instructrions:
    # click on "raw" and copy the link to the .rb file
    # from your terminal type: brew install <copy-link>

    require 'formula'

    class Ctags < Formula
  2. reborg revised this gist Mar 8, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions ctags.rb
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    class Ctags < Formula
    url 'https://github.com/fishman/ctags.git'
    homepage 'http://ctags.sourceforge.net/'

    head 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk'
    version '1.2'
    head 'https://github.com/fishman/ctags.git'

    # true for both 5.8 and head
    fails_with_llvm "Resulting executable generates erroneous tag files", :build => 2335
  3. reborg renamed this gist Mar 8, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. reborg created this gist Mar 8, 2012.
    23 changes: 23 additions & 0 deletions ctags-objc.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    require 'formula'

    class Ctags < Formula
    url 'https://github.com/fishman/ctags.git'
    homepage 'http://ctags.sourceforge.net/'

    head 'https://ctags.svn.sourceforge.net/svnroot/ctags/trunk'

    # true for both 5.8 and head
    fails_with_llvm "Resulting executable generates erroneous tag files", :build => 2335

    def install
    if ARGV.build_head?
    system "autoheader"
    system "autoconf"
    end
    system "./configure", "--prefix=#{prefix}",
    "--enable-macro-patterns",
    "--mandir=#{man}",
    "--with-readlib"
    system "make install"
    end
    end