Module: Overcommit::Hook::Shared::IndexTags

Included in:
PostCheckout::IndexTags, PostCommit::IndexTags, PostMerge::IndexTags, PostRewrite::IndexTags
Defined in:
lib/overcommit/hook/shared/index_tags.rb

Overview

Shared code used by all IndexTags hooks. It runs ctags in the background so your tag definitions are up-to-date.

Instance Method Summary collapse

Instance Method Details

#runObject


7
8
9
10
# File 'lib/overcommit/hook/shared/index_tags.rb', line 7

def run
  execute_in_background([Overcommit::Utils.script_path('index-tags')])
  :pass
end