Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.507 kb
# Build the TAGS file for Emacs
# Taken with slight modifications from
# http://blog.lathi.net/articles/2007/11/07/navigating-your-projects-in-emacs
#
# Thanks Jim Weirich
module Emacs
module Tags
def self.ruby_files
@ruby_files ||= FileList['**/*.rb'].exclude("pkg")
end
end
end
namespace :tags do
task :emacs do
puts "Making Emacs TAGS file"
sh "ctags -e #{Emacs::Tags.ruby_files}", :verbose => false
end
end
desc "Build the emacs tags file"
task :tags => ["tags:emacs"]
Jump to Line
Something went wrong with that request. Please try again.