Add shared folder in gitignore and format scripts

This commit is contained in:
tytan652 2023-08-02 10:19:50 +02:00
parent 9d67bf2662
commit b0aac7e794
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -9,6 +9,7 @@
!/docs !/docs
!/libobs* !/libobs*
!/plugins !/plugins
!/shared
!/test !/test
!/UI !/UI
!.cirrus.xml !.cirrus.xml

View file

@ -54,7 +54,7 @@ invoke_formatter() {
exit 2 exit 2
fi fi
if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins|deps)/**/*.(c|cpp|h|hpp|m|mm)(.N)) if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins|deps|shared)/**/*.(c|cpp|h|hpp|m|mm)(.N))
source_files=(${source_files:#*/(obs-websocket/deps|decklink/*/decklink-sdk|mac-syphon/syphon-framework|obs-outputs/ftl-sdk|win-dshow/libdshowcapture)/*}) source_files=(${source_files:#*/(obs-websocket/deps|decklink/*/decklink-sdk|mac-syphon/syphon-framework|obs-outputs/ftl-sdk|win-dshow/libdshowcapture)/*})
@ -75,7 +75,7 @@ invoke_formatter() {
exit 2 exit 2
} }
if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins|deps|cmake)/**/(CMakeLists.txt|*.cmake)(.N)) if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins|deps|shared|cmake)/**/(CMakeLists.txt|*.cmake)(.N))
source_files=(${source_files:#*/(obs-outputs/ftl-sdk|jansson|decklink/*/decklink-sdk|obs-websocket|obs-browser|win-dshow/libdshowcapture)/*}) source_files=(${source_files:#*/(obs-outputs/ftl-sdk|jansson|decklink/*/decklink-sdk|obs-websocket|obs-browser|win-dshow/libdshowcapture)/*})