[nautilus/wip/oholy/ci-style-check: 20/29] run-uncrustify.sh: Skip some imported source codes



commit 8cfbfc90f2c370bd396a90539a9f899fb2ce427e
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]