mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
readme: Clarify clang-format usage/version
This commit is contained in:
parent
55fd787397
commit
e8058034a3
|
@ -241,8 +241,11 @@ scripts/format-project.sh
|
||||||
|
|
||||||
You can optionally put something like `CLANG_FORMAT=clang-format-7` before that command
|
You can optionally put something like `CLANG_FORMAT=clang-format-7` before that command
|
||||||
if your clang-format binary isn't named `clang-format`.
|
if your clang-format binary isn't named `clang-format`.
|
||||||
Note that you'll typically prefer to use something like `git clang-format`
|
**Note that you'll typically prefer** to use something like `git clang-format`
|
||||||
to just re-format your changes, in case version differences in tools result in overall format changes.
|
to just re-format your changes, in case version differences in tools result in overall format changes.
|
||||||
|
The CI "style" job currently runs on Debian Buster, so it has clang-format-7.
|
||||||
|
We will probably update that job to Bullseye or Ubuntu 20.10, which will allow
|
||||||
|
using clang-format-11 by default, soon.
|
||||||
|
|
||||||
[OpenHMD]: http://openhmd.net
|
[OpenHMD]: http://openhmd.net
|
||||||
[drm-lease]: https://haagch.frickel.club/#!drmlease%2Emd
|
[drm-lease]: https://haagch.frickel.club/#!drmlease%2Emd
|
||||||
|
|
Loading…
Reference in a new issue