aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/project-clang-format.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 17:32:05 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-13 17:32:05 +0300
commit795dd9e87e44d1c49f160cd003cdde4113ee8247 (patch)
tree8235133e9007abdb53ed7380f201058c24269031 /docs/project-clang-format.md
parentREADME: fix badge links (diff)
downloadcmake-common-795dd9e87e44d1c49f160cd003cdde4113ee8247.tar.gz
cmake-common-795dd9e87e44d1c49f160cd003cdde4113ee8247.zip
tools: drop the .py extension
Diffstat (limited to '')
-rw-r--r--docs/project-clang-format.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/project-clang-format.md b/docs/project-clang-format.md
new file mode 100644
index 0000000..d294730
--- /dev/null
+++ b/docs/project-clang-format.md
@@ -0,0 +1,5 @@
+`clang-format` all C/C++ files in the project.
+
+ $ cd project/
+ $ python3 path/to/tools/project-clang-format # Prints a diff
+ $ python3 path/to/tools/project-clang-format -i # Edits files in-place