Friday, April 29, 2011

sticker

This sticker i must put on my display :) command to create TAGS file

$ cd rails_root_path
$ ctags -e -a --Ruby-kinds=-f -o TAGS -R .

1 comment:

  1. You could just create rake task for it. Also add some improvements like 'skip javascript' and 'look into rake tasks'

      desc "Build ctags"
      task :ctags do
        sh("ctags -e -a --Ruby-kinds=-f -o TAGS -R --langmap='ruby:+.rake.builder.rjs' --languages=-javascript #{Rails.root}")
      end

    ReplyDelete