Sha256: 1c624b7dde56ed820362a95fcc9b82b55b5a0da4a2b4444d6d4d6e2b693b91dc
Contents?: true
Size: 249 Bytes
Versions: 6
Compression:
Stored size: 249 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true root = File.expand_path('..', __dir__) 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
6 entries across 6 versions & 2 rubygems