Sha256: 621e48344aa1c3d16b1a4192c05536f47d640a21834e65903e7ab3927c81c8a7

Contents?: true

Size: 224 Bytes

Versions: 61

Compression:

Stored size: 224 Bytes

Contents

#!/usr/bin/env ruby

root = File.expand_path('../../', __FILE__)
hooks_dir = "#{root}/bin/git-hooks"

`ls -1 #{hooks_dir}`.each_line.map(&:strip).each do |file|
  `ln -sf #{hooks_dir}/#{file} #{root}/.git/hooks/#{file}`
end

Version data entries

61 entries across 61 versions & 4 rubygems

Version Path
telegram-bot-0.16.1 bin/install_git_hooks
telegram-bot-0.16.0 bin/install_git_hooks
telegram-bot-0.15.7 bin/install_git_hooks
telegram-bot-0.15.6 bin/install_git_hooks
telegram-bot-0.15.4 bin/install_git_hooks
telegram-bot-0.15.3 bin/install_git_hooks
telegram-bot-0.15.2 bin/install_git_hooks
telegram-bot-0.15.1 bin/install_git_hooks
telegram-bot-0.15.0 bin/install_git_hooks
gemfile_locker-0.4.0 bin/install_git_hooks
telegram-bot-0.14.4 bin/install_git_hooks
telegram-bot-0.14.3 bin/install_git_hooks
telegram-bot-0.14.2 bin/install_git_hooks
gemfile_locker-0.3.1 bin/install_git_hooks
telegram-bot-0.14.1 bin/install_git_hooks
telegram-bot-types-0.6.1 bin/install_git_hooks
gemfile_locker-0.3.0 bin/install_git_hooks
telegram-bot-0.14.0 bin/install_git_hooks
rails_stuff-0.6.0 bin/install_git_hooks
telegram-bot-0.13.1 bin/install_git_hooks