[Scilab-Dev] Code convention / Coding style

Clément David clement.david at scilab.org
Thu Nov 25 11:01:40 CET 2010


Hello,

Thanks for the tips. I have included it in my attached pre-commit hook.


> Hello
> 
> Playing with the "indent" program, I published on the wiki the list of
> all arguments in order to have a C / C++ code complying to the Coding
> Style of Scilab:
> http://wiki.scilab.org/Code_Conventions_for_the_C_Programming_Language
> 
> The command:
> indent -npro --braces-after-if-line  -i4 -ts4 -sob -ss -ncs -sc
> --no-space-after-parentheses  -cp1 --no-tabs -bap -bad -npcs
> --dont-break-function-decl-args --dont-break-procedure-type -bli0 -l150
> -il0 <file>
> 
> will update the source code to the coding style.
> 
> Cheers,
> Sylvestre
> 
> 

-- 
Clément David <clement.david at scilab.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pre-commit
Type: application/x-shellscript
Size: 1674 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20101125/a81d99d5/attachment.bin>


More information about the dev mailing list