#
# Copyright (C) 2020-2023 Philippe Proulx <pproulx@efficios.com>
-expected_formatter_major_version=15
+expected_formatter_major_version=16
# Runs the formatter, returning 1 if it's not the expected version.
#
# We want an absolute starting directory because find(1) excludes
# files in specific subdirectories.
find "$(realpath "$root_dir")" \( -name '*.cpp' -o -name '*.hpp' \) \
+ ! -path '*/.git/*' \
! -path '*/src/cpp-common/vendor/*' \
! -path '*/src/plugins/ctf/common/metadata/parser.*' \
! -path '*/src/plugins/ctf/common/metadata/lexer.*' \