[epiphany/uncrustify: 2/3] Add run-uncrustify script



commit 17c9805c3b7901d17666c71a2163de980eb5c774
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Mon Mar 21 23:48:55 2016 -0500

    Add run-uncrustify script

 data/run-uncrustify |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/data/run-uncrustify b/data/run-uncrustify
new file mode 100755
index 0000000..a5184c5
--- /dev/null
+++ b/data/run-uncrustify
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+for DIR in ../embed ../lib ../src ../tests
+do
+    # Aligning prototypes is not working yet, so avoid headers
+    #uncrustify -c kr-gnome-indent.cfg --no-backup $(find $DIR -name "*.[ch]")
+    uncrustify -c kr-gnome-indent.cfg --no-backup $(find $DIR -name "*.c")
+done


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