mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
091946a478
Main differences with previous setup are: - No manifest creation - gst-indent is executed only when the bot is assigned (instead of the manifest task) - Cerbero jobs are triggered in the cerbero repo - Remove cerbero and android related files as they now are in cerbero itself. - Update `container.ps1` to the new file layout Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
15 lines
396 B
Bash
Executable file
15 lines
396 B
Bash
Executable file
#!/bin/bash
|
|
|
|
filter_cmd=("cat")
|
|
if test -f ".indentignore"; then
|
|
filter_args=()
|
|
while read -r line; do
|
|
if test -n "$line"; then
|
|
filter_args+=("-e" "$line")
|
|
fi
|
|
done < ".indentignore"
|
|
if [[ ${#filter_args[@]} -gt 0 ]]; then
|
|
filter_cmd=("grep" "-v" "${filter_args[@]}")
|
|
fi
|
|
fi
|
|
git ls-files "*.c" | "${filter_cmd[@]}" | xargs -d '\n' gst-indent
|