[epiphany] Add run-uncrustify script



commit 5a5e0d7cf463c14f4769de4e9a3ae9e8b38d54b4
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]