1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

Add highlighting

This commit is contained in:
William Wennerström 2020-07-07 10:11:31 +02:00
parent d1bf922b1a
commit 815a655768
No known key found for this signature in database
GPG Key ID: E1382990BEDD319B

View File

@ -12,7 +12,7 @@ It might be a good idea to add a git pre-commit hook.
So git automatically runs clang-format before doing a commit.
You can add the following snippet to `.git/hooks/pre-commit`:
```
```shell
for f in $(git diff --cached --name-only)
do
clang-format -i $f
@ -22,7 +22,7 @@ done
If you feel embarrassed every time the CI fails you can add the following
snippet to `.git/hooks/pre-push`:
```
```shell
#!/bin/sh
set -e
./ci-build.sh