From 863ac0a263247d43d48c06ed942ddd470f811507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Fri, 28 Aug 2015 17:29:47 +0000 Subject: code formatting rules svn path=/trunk/externals/zexy/; revision=17536 --- src/Makefile.am | 2 ++ src/astyle.rc | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 src/astyle.rc diff --git a/src/Makefile.am b/src/Makefile.am index 05770f1..06f4408 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -16,6 +16,8 @@ AM_LDFLAGS+= @EXTRA_LTFLAGS@ AM_CFLAGS += AM_LDFLAGS+= +EXTRA_DIST = \ + astyle.rc if LIBRARY pkglib_LTLIBRARIES+=zexy.la diff --git a/src/astyle.rc b/src/astyle.rc new file mode 100644 index 0000000..0c0c1bc --- /dev/null +++ b/src/astyle.rc @@ -0,0 +1,16 @@ +## asytyle configuration for zexy +# usage: astyle --options=astyle.conf *.c *.h + +## CRLF line-ending +lineend=linux + +## make sure that code fits on an old-school terminal +max-code-length=75 +# maximum indentation on continuation lines +max-instatement-indent=40 + +## "One True Brace Style" +style=1tbs + +## hardly an indentation +indent=spaces=2 -- cgit v1.2.1