Class: TrackerGitHook::CheckStoryIdHook
- Inherits:
-
Object
- Object
- TrackerGitHook::CheckStoryIdHook
- Defined in:
- lib/tracker_git_hook/installer.rb
Instance Method Summary collapse
Instance Method Details
#filename ⇒ Object
34 35 36 |
# File 'lib/tracker_git_hook/installer.rb', line 34 def filename 'commit-msg' end |
#script ⇒ Object
27 28 29 30 31 32 |
# File 'lib/tracker_git_hook/installer.rb', line 27 def script <<-BASH /usr/bin/env ruby -e "require 'tracker_git_hook/commit_msg'; TrackerGitHook::CommitMsg.new.run(message_file_path: ARGV[0])" $1 BASH end |