mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-01 22:17:49 -05:00
Based on instructions found at http://codeinthehole.com/writing/tips-for-using-a-git-pre-commit-hook/ I have no idea how portable this will be.
6 lines
144 B
Ruby
6 lines
144 B
Ruby
desc "Install git hooks"
|
|
task :hooks do
|
|
FileUtils.symlink '../../script/pre-commit.sh', '.git/hooks/pre-commit',
|
|
:force => true
|
|
end
|