adding gst-indent as a noinst tool

Original commit message from CVS:
adding gst-indent as a noinst tool
This commit is contained in:
Thomas Vander Stichele 2004-03-13 15:17:30 +00:00
parent 0872208827
commit b8edc59edb
3 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
* tools/gst-indent:
* tools/Makefile.am:
add our indentation style as a script
2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
* po/sr.po:

View file

@ -153,3 +153,6 @@ EXTRA_DIST = \
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
-e s,gst-xmllaunch,gst-xmllaunch-@GST_MAJORMINOR@,g \
$< >$@
# developer helper tools, not meant for installation
noinst_SCRIPTS = gst-indent

16
tools/gst-indent Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
indent \
--braces-on-if-line \
--blank-lines-after-declarations \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 \
--use-tabs \
--cuddle-else \
--dont-line-up-parentheses \
--continuation-indentation4 \
--honour-newlines \
--tab-size8 \
--indent-level2 \
$*