diff options
author | Ondrej Holy <oholy@redhat.com> | 2020-02-03 16:44:17 +0100 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-04-05 16:22:26 +0000 |
commit | e66f540052804fcf40f0f0cf884ef229d3ae6185 (patch) | |
tree | c2ab69722910aa3330feff8c52fa8954b0414e2e | |
parent | 2519d26f110372ca90206e9e1c3c772dcdf47c5c (diff) | |
download | nautilus-e66f540052804fcf40f0f0cf884ef229d3ae6185.tar.gz |
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.
-rwxr-xr-x | data/run-uncrustify.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |