Skip to content

Commit

Permalink
build-aux: Add deps to clang-format and cmake-format
Browse files Browse the repository at this point in the history
  • Loading branch information
tytan652 authored and Lain-B committed Jul 22, 2023
1 parent 1dbd582 commit 343eda4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-aux/.run-format.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ invoke_formatter() {
exit 2
fi

local -a source_files=((libobs|libobs-*|UI|plugins)/**/*.(c|cpp|h|hpp|m|mm)(.N))
local -a source_files=((libobs|libobs-*|UI|plugins|deps)/**/*.(c|cpp|h|hpp|m|mm)(.N))
source_files=(${source_files:#*/(obs-websocket/deps|decklink/*/decklink-sdk|enc-amf|mac-syphon/syphon-framework|obs-outputs/ftl-sdk|win-dshow/libdshowcapture)/*})

local -a format_args=(-style=file -fallback-style=none)
Expand All @@ -70,7 +70,7 @@ invoke_formatter() {
exit 2
}

local -a source_files=((libobs|libobs-*|UI|plugins|cmake)/**/(CMakeLists.txt|*.cmake)(.N))
local -a source_files=((libobs|libobs-*|UI|plugins|deps|cmake)/**/(CMakeLists.txt|*.cmake)(.N))
source_files=(${source_files:#*/(obs-outputs/ftl-sdk|jansson|decklink/*/decklink-sdk|enc-amf|obs-websocket|obs-browser|win-dshow/libdshowcapture)/*})

local -a format_args=()
Expand Down

0 comments on commit 343eda4

Please sign in to comment.