projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter.utils.trimmer: remove unused parameter from set_bound_from_param
[babeltrace.git]
/
CONTRIBUTING.adoc
diff --git
a/CONTRIBUTING.adoc
b/CONTRIBUTING.adoc
index 23808c041e61e99dc856f9044a4f2b74fe11a64c..268c4445ae4e8b3f33db45a8a2654e2c20edd17d 100644
(file)
--- a/
CONTRIBUTING.adoc
+++ b/
CONTRIBUTING.adoc
@@
-1680,14
+1680,20
@@
You need clang-format{nbsp}15 to use the project's `.clang-format` file.
To automatically format all the project's {cpp} files, run:
----
To automatically format all the project's {cpp} files, run:
----
-$ ./tools/format-cpp
+$ ./tools/format-cpp.sh
+----
+
+Pass a directory path to only format the {cpp} files it contains:
+
+----
+$ ./tools/format-cpp.sh ./src/cli
----
Use the `FORMATTER` environment variable to override the default
formatter (`clang-format{nbsp}-i`):
----
----
Use the `FORMATTER` environment variable to override the default
formatter (`clang-format{nbsp}-i`):
----
-$ FORMATTER='
clang-format-10 -i' ./tools/format-cpp
+$ FORMATTER='
my-clang-format-15 -i' ./tools/format-cpp.sh
----
==== Naming
----
==== Naming
This page took
0.02545 seconds
and
4
git commands to generate.