commit 8d3066a773c9bec1dc3dedde55ffaaa029360642 parent fc7f4b5facecd8a57356583f27e0af616cb2bbb4 Author: Chris Bracken <chris@bracken.jp> Date: Wed, 28 Aug 2013 22:43:37 -0700 Add .astylerc Diffstat:
A | .astylerc | | | 12 | ++++++++++++ |
M | Makefile | | | 3 | +++ |
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/.astylerc b/.astylerc @@ -0,0 +1,12 @@ +--style=stroustrup # Stroustrup-style braces +--indent=spaces=2 # 2-space indent +--indent-preprocessor # Indent macro continuation lines +--min-conditional-indent=0 # Don't indent 2nd-line of conditional expr +--pad-oper # Pad operators +--pad-header # Pad between for, if, while and paren +--unpad-paren # Remove useless padding in/around parens +--align-pointer=name # Align * and & with var/param name +--convert-tabs # Eliminate all tabs +# --close-templates # C++11 templates +# --max-code-length=80 # 80-col max +--lineend=linux # \n diff --git a/Makefile b/Makefile @@ -13,6 +13,9 @@ install-fontconf: install-git: cp -r .gitconfig .gitignore_global ~/ +install-astyle: + cp .astylerc ~/ + install-irssi: cp -r .irssi ~/