mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
Add indent script for C# files
This commit is contained in:
parent
dba4fc945c
commit
2a2822bb80
1 changed files with 13 additions and 0 deletions
13
tools/cs-indent
Executable file
13
tools/cs-indent
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
astyle \
|
||||||
|
--mode=cs \
|
||||||
|
--style=java \
|
||||||
|
--indent=spaces=2 \
|
||||||
|
--indent-switches \
|
||||||
|
--indent-namespaces \
|
||||||
|
--pad=oper \
|
||||||
|
--unpad=paren \
|
||||||
|
--pad=paren-out \
|
||||||
|
--convert-tabs \
|
||||||
|
--suffix=none \
|
||||||
|
$* > /dev/null
|
Loading…
Reference in a new issue