com php-langspec: Add sample git pre-commit hook: tools/pre-commit

From: Date: Tue, 26 Sep 2017 08:53:52 +0000
Subject: com php-langspec: Add sample git pre-commit hook: tools/pre-commit
Groups: php.standards.cvs 
Request: Send a blank email to standards--cvs+get-408@lists.php.net to get a copy of this message
Commit: 7741beb3af80779a223bc61ef0d4d7a31bf12f50 Author: Nikita Popov <nikita.ppv@gmail.com> Tue, 26 Sep 2017 10:53:52 +0200 Parents: 15f74073f96e5225fc2cb4120799b25972bc2ac7 Branches: master Link: http://git.php.net/?p=php-langspec.git;a=commitdiff;h=7741beb3af80779a223bc61ef0d4d7a31bf12f50 Log: Add sample git pre-commit hook Changed paths: A tools/pre-commit Diff: diff --git a/tools/pre-commit b/tools/pre-commit new file mode 100755 index 0000000..3fb22d3 --- /dev/null +++ b/tools/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +php tools/grammar.php && \ +php tools/toc.php && \ +php tools/check_refs.php

« previous php.standards.cvs (#408) next »