Closed (fixed)
Project:
Drupal Code Quality
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2013 at 19:27 UTC
Updated:
9 Sep 2013 at 15:51 UTC
It would be handy to be able to install the pre-commit hooks with a drush command. Here's a patch to do just that.
With this patch, you can download dcq to ~/.drush/dcq and then run drush dcq-install in any git repository to install the pre-commit hooks there.
| Comment | File | Size | Author |
|---|---|---|---|
| dcq-drush-command.patch | 2.33 KB | becw |
Comments
Comment #1
eugene.ilyin commentedThank you! It's great idea.
Your patch was commited, it will be available in new version - 7.x-2.1
Comment #2
becw commentedThanks!
Comment #3.0
(not verified) commentedAdd more information on how to use the patch.