From fe0e061bfe202a65f49eee2407d625cfce8980ba Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Wed, 8 Oct 2025 14:00:13 +0200 Subject: [PATCH] update format.sh heard you like our linter so I updated our linter so you can lint while you lint your lint --- format.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/format.sh b/format.sh index 1e88c9862..30604f602 100755 --- a/format.sh +++ b/format.sh @@ -13,16 +13,22 @@ cd "${BASH_SOURCE%/*}/" || exit 2 # could not find path, this could happen with # defaults include=("cockatrice/src" \ -"common" \ "dbconverter/src" \ +"libcockatrice_card" \ +"libcockatrice_deck_list" \ +"libcockatrice_protocol" \ +"libcockatrice_rng" \ +"libcockatrice_server" \ +"libcockatrice_settings" \ +"libcockatrice_utility" \ "oracle/src" \ "servatrice/src" \ "tests") -exclude=("common/sfmt" \ -"common/lib" \ -"oracle/src/zip" \ +exclude=("libcockatrice_rng/libcockatrice/rng/sfmt" \ +"libcockatrice_utility/libcockatrice/utility/peglib.h" \ "oracle/src/lzma" \ "oracle/src/qt-json" \ +"oracle/src/zip" \ "servatrice/src/smtp") exts=("cpp" "h" "proto") cf_cmd="clang-format"