]> git.mxchange.org Git - friendica.git/commit
Added sample pre-commit hook to give you an idea how to start to include:
authorRoland Häder <roland@mxchange.org>
Tue, 25 Oct 2022 20:55:15 +0000 (22:55 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 17 Jan 2024 00:03:02 +0000 (01:03 +0100)
commitb6225ed3783dacefe7f70eb375bcd756a0510a6a
treecbadc57d5f0d030ceecf71b1db575f91f9b1317f
parent9988ee3ec49ad1a0a00b963831abb8db4cc588ef
Added sample pre-commit hook to give you an idea how to start to include:
- lint check by `php -l $CHANGED_FILE`
- code-style check by php-cs --dry-run
- executing unit-tests (non-fatal)

Please feel free to modify it.
mods/sample-pre-commit-hook.sh [new file with mode: 0755]