Browse files

Add contrib/astylerc.

This is an astyle options file that roughly aligns with the coding
style guidelines.

Signed-off-by: Marti Bolivar <>
  • Loading branch information...
Marti Bolivar
Marti Bolivar committed Jun 28, 2012
1 parent 46c2222 commit 4660d08c6dc924547f8f9c7d7c9352d359e48d61
Showing with 22 additions and 0 deletions.
  1. +22 −0 contrib/astylerc
@@ -0,0 +1,22 @@
+# This is an astyle ( options file you
+# can use to autoformat code roughly along the lines of libmaple's
+# style guidelines. "Roughly" in the sense that if you use it on code
+# that wildly differs from the libmaple style, the patch stands a much
+# better chance of not getting held up for trivial reasons.
+# Use it like this:
+# $ astyle --options=contrib/astylerc <your_source_file>
+# It needs astyle version 2; versions 1.x are missing some of these
+# options.

0 comments on commit 4660d08

Please sign in to comment.