Browse Source

Ignore build_x86_64/release dirs in format scripts

The scripts would fail if these directories were present.
cg2121 2 năm trước cách đây
mục cha
commit
525650f972
2 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 2 1
      .github/scripts/check-cmake.sh
  2. 2 1
      .github/scripts/check-format.sh

+ 2 - 1
.github/scripts/check-cmake.sh

@@ -36,7 +36,8 @@ if ! type cmake-format 2> /dev/null ; then
 fi
 
 find . -type d \( \
-    -path ./\*build -o \
+    -path ./\*build\* -o \
+    -path ./release -o \
     -path ./deps/jansson -o \
     -path ./plugins/decklink/\*/decklink-sdk -o \
     -path ./plugins/enc-amf -o \

+ 2 - 1
.github/scripts/check-format.sh

@@ -42,7 +42,8 @@ else
 fi
 
 find . -type d \( \
-    -path ./\*build -o \
+    -path ./\*build\* -o \
+    -path ./release -o \
     -path ./cmake -o \
     -path ./plugins/decklink/\*/decklink-sdk -o \
     -path ./plugins/enc-amf -o \