0.0.17 • Published 8 years ago
bootme-githook v0.0.17
bootme-githook
Task to create Cross-platform git hooks.
It will create a sym link from ./git_hooks/<name> to ./git/hooks/<name> and allows you to execute any script on the hook. Your hooks are now versionable!
Usage
registry.addTask(
new GitHookTask('hookme').setConfig({
name: ['precommit'],
hookDir: 'git_hooks'
})
)- Remove the suffix
.samplefrom default hook files in.git/hooks - Place your files under
./git_hooks/<name> - Execute Task
Rollback
- Unlink