projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpp-common: add nlohmann/json header-only dependency
[babeltrace.git]
/
tools
/
format-cpp
diff --git
a/tools/format-cpp
b/tools/format-cpp
index 0a165a8f2b18e03953120bf81ab5ec4030ec52a1..7fcf75896e986e4198cbe961ce77d3fa6ceaef9f 100755
(executable)
--- a/
tools/format-cpp
+++ b/
tools/format-cpp
@@
-39,6
+39,7
@@
format_cpp() {
find "$root_dir" \( -name '*.cpp' -o -name '*.hpp' \) \
! -wholename '*/cpp-common/optional.hpp' \
! -wholename '*/cpp-common/string_view.hpp' \
+ ! -wholename '*/cpp-common/nlohmann/json.hpp' \
-print0 | xargs -P$(nproc) -n1 -0 $formatter
}
This page took
0.023403 seconds
and
4
git commands to generate.