Skip to content

Commit

Permalink
build-aux: Replace UI directory with frontend directory for formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav committed Jan 8, 2025
1 parent 7db4a75 commit 49e23e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-aux/.run-format.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ invoke_formatter() {
exit 2
fi

if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins|deps|shared)/**/*.(c|cpp|h|hpp|m|mm)(.N))
if (( ! #source_files )) source_files=((libobs|libobs-*|frontend|plugins|deps|shared)/**/*.(c|cpp|h|hpp|m|mm)(.N))

source_files=(${source_files:#*/(obs-websocket/deps|decklink/*/decklink-sdk|mac-syphon/syphon-framework|libdshowcapture)/*})

Expand Down Expand Up @@ -102,7 +102,7 @@ invoke_formatter() {
fi
}

if (( ! #source_files )) source_files=(CMakeLists.txt (libobs|libobs-*|UI|plugins|deps|shared|cmake|test)/**/(CMakeLists.txt|*.cmake)(.N))
if (( ! #source_files )) source_files=(CMakeLists.txt (libobs|libobs-*|frontend|plugins|deps|shared|cmake|test)/**/(CMakeLists.txt|*.cmake)(.N))

source_files=(${source_files:#*/(jansson|decklink/*/decklink-sdk|obs-websocket|obs-browser|libdshowcapture)/*})
source_files=(${source_files:#(cmake/Modules/*|*/legacy.cmake)})
Expand Down Expand Up @@ -150,7 +150,7 @@ invoke_formatter() {
exit 2
}

if (( ! #source_files )) source_files=((libobs|libobs-*|UI|plugins)/**/*.swift(.N))
if (( ! #source_files )) source_files=((libobs|libobs-*|frontend|plugins)/**/*.swift(.N))

check_files() {
local -i num_failures=0
Expand Down

0 comments on commit 49e23e1

Please sign in to comment.