mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
adding gst-indent as a noinst tool
Original commit message from CVS: adding gst-indent as a noinst tool
This commit is contained in:
parent
0872208827
commit
b8edc59edb
3 changed files with 25 additions and 0 deletions
|
@ -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>
|
2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* po/sr.po:
|
* po/sr.po:
|
||||||
|
|
|
@ -153,3 +153,6 @@ EXTRA_DIST = \
|
||||||
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
-e s,gst-typefind,gst-typefind-@GST_MAJORMINOR@,g \
|
||||||
-e s,gst-xmllaunch,gst-xmllaunch-@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
16
tools/gst-indent
Executable 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 \
|
||||||
|
$*
|
Loading…
Reference in a new issue