aboutsummaryrefslogtreecommitdiff
path: root/astylerc
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2015-12-19 18:37:40 -0800
committerzlg <zlg@zlg.space>2015-12-19 18:37:40 -0800
commit57df72caf8d749c7cd5f36117ff35e41975db3d3 (patch)
treeddfb481f6216aa1b207f005ae92c556250e3487d /astylerc
parentRe-solve Exercise 1-16: arbitrarily long maxline (diff)
downloadknr-57df72caf8d749c7cd5f36117ff35e41975db3d3.tar.gz
knr-57df72caf8d749c7cd5f36117ff35e41975db3d3.tar.bz2
knr-57df72caf8d749c7cd5f36117ff35e41975db3d3.tar.xz
knr-57df72caf8d749c7cd5f36117ff35e41975db3d3.zip
Change license to GPLv3, add contributing guide
* Improve README tone * Add `astylerc` for use with the astyle package * Add AUTHORS file to acknowledge contributors
Diffstat (limited to 'astylerc')
-rw-r--r--astylerc17
1 files changed, 17 insertions, 0 deletions
diff --git a/astylerc b/astylerc
new file mode 100644
index 0000000..53cd0dc
--- /dev/null
+++ b/astylerc
@@ -0,0 +1,17 @@
+# This file is meant to be used with the astyle package, whose homepage
+# is found at http://astyle.sourceforge.net. Combining these options with
+# astyle ensures that anything you contribute matches the style guidelines
+# of the project. This file is here for developer convenience.
+#
+# For short, use -A2TpHUjSxek3W3
+
+style=attach
+indent=force-tab=4
+pad-oper
+pad-header
+unpad-paren
+add-brackets
+indent-switches
+delete-empty-lines
+align-pointer=name
+align-reference=name