:
1) rake, , :
desc 'Create ctags'
task :tags do
system "ctags -R --language-force=ruby app config lib `rvm gemdir`/gems"
end
2) "" ( ), inotifywait , :
tags: while inotifywait -q -r -e MODIFY --exclude swp$ app/ config/ lib/ ; do bundle exec rake tags; done
If you are not using the wizard, you can, of course, simply run this line without the first part of the "tags:" manually in the shell.
source
share