Sha256: 2cae2bbcf44e0a678a5068ee87968326b914edd342f987a53e7cd5ebb32a6ebd
Contents?: true
Size: 409 Bytes
Versions: 24
Compression:
Stored size: 409 Bytes
Contents
#!/usr/bin/env ruby # -*- ruby -*- module Tags RUBY_FILES = FileList['**/*.rb'].exclude("pkg") PROG = ENV['TAGS'] || 'ctags' end namespace "tags" do desc "Update the Tags file for emacs" task :emacs => Tags::RUBY_FILES do puts "Making Emacs TAGS file" sh "#{Tags::PROG} -e #{Tags::RUBY_FILES}", :verbose => false end end desc "Update the Tags file for emacs" task :tags => ["tags:emacs"]
Version data entries
24 entries across 24 versions & 1 rubygems