summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@redhat.com>2017-04-07 13:50:47 +0200
committerArx Cruz <arxcruz@redhat.com>2017-04-07 13:52:26 +0200
commit8c5e60de83618a5b2a9344223cc56ee29eacf3a4 (patch)
treecdbb002315c34bc03003de51bcfa234018097649 /utils
parentFix message dialog width and height on recent Gtk (diff)
downloadzenity-8c5e60de83618a5b2a9344223cc56ee29eacf3a4.tar.gz
zenity-8c5e60de83618a5b2a9344223cc56ee29eacf3a4.tar.bz2
zenity-8c5e60de83618a5b2a9344223cc56ee29eacf3a4.zip
Adding clang-format script
All the code in zenity from now, will follow this format style
Diffstat (limited to 'utils')
-rw-r--r--utils/format.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/format.sh b/utils/format.sh
new file mode 100644
index 00000000..7d557e1c
--- /dev/null
+++ b/utils/format.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+find src -type f \( -iname '*.c' -or -iname '*.h' \) -exec clang-format -i -style=file {} \;
+
bgstack15