summaryrefslogtreecommitdiff
path: root/uncrustify.sh
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-06 15:27:19 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-06 15:27:19 +0200
commit185fdc194782e24775db22c26a79687b1598be01 (patch)
tree932a525e4285a82062bdce62a283cc628d829dac /uncrustify.sh
parentf17fd2a705df31c572b0aa18b369dacca5230f04 (diff)
downloadxdg-app-185fdc194782e24775db22c26a79687b1598be01.tar.gz
Add uncrustify config
Diffstat (limited to 'uncrustify.sh')
-rwxr-xr-xuncrustify.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/uncrustify.sh b/uncrustify.sh
new file mode 100755
index 0000000..af93ec2
--- /dev/null
+++ b/uncrustify.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+uncrustify -c uncrustify.cfg --no-backup `git ls-tree --name-only -r HEAD | grep \\\.[ch]$ | grep -v gvdb`