Update the HACKING file and give some indentation sugars.

This commit is contained in:
Romain Tartiere 2010-09-03 18:08:18 +00:00
parent 7b9242e935
commit 274dfdefd2

View file

@ -16,8 +16,10 @@ you started:
The source code of the library trend to follow some conventions so that it The source code of the library trend to follow some conventions so that it
is consistent in style and thus easier to read. Basically, it follows is consistent in style and thus easier to read. Basically, it follows
FreeBSD's style(9); adding 4-space indentation and 8-space tabs (which you FreeBSD's style(9); adding 4-space indentation and 8-space tabs (which you
should configure in your editor, e.g. `:set sw=4 ts=8' in vim). For more should configure in your editor, e.g. `:set sw=4 ts=8' in vim). You are
details, please read the style(9) man page from FreeBSD's website: also advised to `:set cinoptions=t0(0:0` so that you don't have to care
about indentation anymore. For more details, please read the style(9) man
page from FreeBSD's website:
http://www.freebsd.org/cgi/man.cgi?query=style http://www.freebsd.org/cgi/man.cgi?query=style
3. Write tests 3. Write tests