Actually make that:
astyle -j -s4 -o -a -p -a --convert-tabs <file>

the -a forces curly brackets to attach to the previous line.

Ian

I'd just like to ask anyone submitting patches to run the following astyle command on the sources before posting them:

astyle -j -s4 -o -a -p --convert-tabs

this will enforce most of the nant coding guidelines with regard to formatting and layout and makes the reviewer/committers job much easier.

you can get astyle from http://astyle.sourceforge.net/. btw there was talk of writing an astyle task a while back. Did anyone get around to doing that ?

Ian





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers



--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com





------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to