Skip to content

Commit ea76f4a

Browse files
author
wodry
committed
Doc: Tell howto install clang-format on Debian/Ubuntu
Because only macOS wasy mentioned, I was unsure if this would be a macOS specific tool. I guess Linux is more used than Mac, so Linux guide should be there, too.
1 parent 3a12fdb commit ea76f4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/devtools/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ clang-format-diff.py
77

88
A script to format unified git diffs according to [.clang-format](../../src/.clang-format).
99

10-
Requires `clang-format`, installed e.g. via `brew install clang-format` on macOS.
10+
Requires `clang-format`, installed e.g. via `brew install clang-format` on macOS,
11+
or `sudo apt install clang-format` on Debian/Ubuntu.
1112

1213
For instance, to format the last commit with 0 lines of context,
1314
the script should be called from the git root folder as follows.

0 commit comments

Comments
 (0)