Skip to content

Commit

Permalink
Add .githooksrc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeaubert committed Apr 4, 2015
1 parent 57f9cdb commit 83680cd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .githooksrc
@@ -0,0 +1,11 @@
force_plugins = PerlCompile, PerlCritic, ValidatePODFormat, BlockNOCOMMIT, PrependTicketID, RequireCommitMessage
project_prefixes = GH
extract_ticket_id_from_branch = /^($project_prefixes\d+)/
normalize_branch_ticket_id = s/^(.*?)(\d+)$/\U$1-$2/
extract_ticket_id_from_commit = /^\(($project_prefixes-\d+)\) /

[PrependTicketID]
commit_prefix_format = /($ticket_id) /

[PerlCompile]
lib_paths = ./lib/

0 comments on commit 83680cd

Please sign in to comment.