Permalink
Browse files

Formating: astyle options file, dev. comment on formatting

  • Loading branch information...
volca02 committed Sep 5, 2010
1 parent 2389903 commit 55add6264cac53dc5b870e099b63edd9800f651c
Showing with 13 additions and 0 deletions.
  1. +2 −0 doc/DEVELOPERS
  2. +11 −0 scripts/astyle.conf
View
@@ -21,6 +21,8 @@ There will be a whole coding style document later on, but for now, some simple r
* Think about the way the code looks - will it be readable by others?
* Test before commiting
* Think twice, code once :)
+* Formatting, simply put - every curly brace indents, curly braces do not break (on the same line)
+ - if not sure, use astyle with scripts/astyle.conf as options file (astyle --options=SOME_PATH/scripts/astyle.conf file.cpp)
Be sure to update ChangeLog file sometimes. On linux, it can be updated using svn2cl script.
View
@@ -0,0 +1,11 @@
+-C
+-S
+-G
+-N
+-a
+--mode=c
+-t8
+-T
+-U
+-A2
+-E

0 comments on commit 55add62

Please sign in to comment.