Instantly share code, notes, and snippets.
alkesh
/ run_tags.rb
Created
January 5, 2012 11:17
— forked from bryanl/run_tags.rb
fork of run_tags script to work on OS X using homebrew installed ctags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
#-*-ruby-*- | |
# A script to run ctags on all .rb files in a project. Can be run on | |
# the current dir, called from a git callback, or install itself as a | |
# git post-merge and post-commit callback. | |
# More info here: http://vimeo.com/3989493 | |
# | |
# This fork will work with homebrew installed ctags on OS X ("brew install ctags") | |
CTAGS = '/usr/local/bin/ctags' |
alkesh
/ run_tags.rb
Created
March 8, 2010 11:44
— forked from bryanl/run_tags.rb
run_tags for VIM when ctags installed to /usr/local/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
#-*-ruby-*- | |
# A script to run ctags on all .rb files in a project. Can be run on | |
# the current dir, called from a git callback, or install itself as a | |
# git post-merge and post-commit callback. | |
CTAGS = '/usr/local/bin/ctags' | |
HOOKS = %w{ post-merge post-commit post-checkout } | |
HOOKS_DIR = '.git/hooks' |
alkesh
/ run_tags.rb
Created
September 14, 2009 08:53
— forked from bryanl/run_tags.rb
changed to work on Ubuntu 9.05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
#-*-ruby-*- | |
# A script to run ctags on all .rb files in a project. Can be run on | |
# the current dir, called from a git callback, or install itself as a | |
# git post-merge and post-commit callback. | |
CTAGS = '/usr/bin/ctags' | |
HOOKS = %w{ post-merge post-commit post-checkout } | |
HOOKS_DIR = '.git/hooks' |