Created
July 9, 2009 11:18
-
-
Save incite/143581 to your computer and use it in GitHub Desktop.
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
module Tags | |
# http://blog.feelingroot.com/?p=105 | |
RUBY_FILES = FileList['**/*.rb'].exclude(”pkg”) | |
end | |
namespace “tags” do | |
task :emacs => Tags::RUBY_FILES do | |
puts “Making Emacs TAGS file” | |
sh “/opt/local/bin/ctags -e #{Tags::RUBY_FILES}”, :verbose => false | |
end | |
end | |
task :tags => ["tags:emacs"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment