[epiphany] Disable uncrustify output



commit 7954a20036e7999c948f1e05184b9e62bce02d94
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Wed Jul 29 11:02:37 2020 +0200

    Disable uncrustify output
    
    Disabling console output of uncrustify improves execution speed (going
    down from 10-11s to 6s)

 data/check-code-style | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/check-code-style b/data/check-code-style
index 5e26eb6c0..dee1d7491 100755
--- a/data/check-code-style
+++ b/data/check-code-style
@@ -30,7 +30,7 @@ do
    # Aligning prototypes is not working yet, so avoid headers
    for FILE in $(find "$DIR" -name "*.c" ! -path "*/contrib/*")
     do
-        "$UNCRUSTIFY" -c "data/uncrustify.cfg" -f "$FILE" -o "$FILE.uncrustify"
+        "$UNCRUSTIFY" -q -c "data/uncrustify.cfg" -f "$FILE" -o "$FILE.uncrustify"
         "$LINEUP_PARAMETERS" "$FILE.uncrustify" > "$FILE.temp" && mv "$FILE.temp" "$FILE.uncrustify"
         diff -urN "$FILE" "$FILE.uncrustify" | \
             sed -e "1s|--- |--- a/|" -e "2s|+++ |+++ b/|" >> "$patch"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]