Skip to content

Commit

Permalink
Doc: Tell howto install clang-format on Debian/Ubuntu
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wodry committed Mar 19, 2021
1 parent 3a12fdb commit ea76f4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/devtools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ clang-format-diff.py

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

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

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

0 comments on commit ea76f4a

Please sign in to comment.