Skip to content

Commit

Permalink
Move git hooks into lib
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 29, 2010
1 parent 53b268b commit 3d15c02
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cached_externals.rb
Expand Up @@ -92,7 +92,7 @@
task :install_hooks, :except => { :no_release => true } do
require 'fileutils'

Dir[File.expand_path('../../script/git-hooks', __FILE__) + '/*'].each do |hook|
Dir["#{File.dirname(__FILE__)}/cached_externals/git-hooks/*"].each do |hook|
FileUtils.cp hook, ".git/hooks"
FileUtils.chmod 0755, ".git/hooks/#{File.basename(hook)}"
end
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3d15c02

Please sign in to comment.