Add indent script for C# files

This commit is contained in:
Sebastian Dröge 2009-04-07 11:25:09 +02:00
parent dba4fc945c
commit 2a2822bb80

13
tools/cs-indent Executable file
View 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