[nautilus/wip/oholy/ci-style-check: 13/22] run-uncrustify.sh: Skip some imported source codes
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/ci-style-check: 13/22] run-uncrustify.sh: Skip some imported source codes
- Date: Sun, 5 Apr 2020 16:23:11 +0000 (UTC)
commit e66f540052804fcf40f0f0cf884ef229d3ae6185
Author: Ondrej Holy <oholy redhat com>
Date: Mon Feb 3 16:44:17 2020 +0100
run-uncrustify.sh: Skip some imported source codes
Skip gtk, animation and audio-video-properties subdirectories as those
codes are copy&pasted from other project.
data/run-uncrustify.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/run-uncrustify.sh b/data/run-uncrustify.sh
index 722b3fd19..78ac8d6cd 100755
--- a/data/run-uncrustify.sh
+++ b/data/run-uncrustify.sh
@@ -17,7 +17,7 @@ fi
for DIR in "$DATA/../"{src,test,libnautilus-extension,eel,extensions}
do
- for FILE in $(find "$DIR" -name "*.c")
+ for FILE in $(find "$DIR" -name "*.c" -not -path "*/gtk/*" -not -path "*/animation/*" -not -path
"*/audio-video-properties/*")
do
# Aligning prototypes is not working yet, so avoid headers
"$UNCRUSTIFY" -c "$DATA/uncrustify.cfg" --no-backup "$FILE"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]