On Jul 16, 2008, at 16:08, Uwe Schwartz wrote:

> Rainer Müller schrieb:
>
>> Uwe Schwartz wrote:
>>
>>> are there any conventions about tabs and whitespaces in Portfile?
>>> I couldn't find any hints in the wiki or in the guide.
>>
>> http://guide.macports.org/#development.practices.portstyle
>>
>> Additionally, watch out for trailing whitespace - especially when the
>> line should end with a backslash. Use 'port lint', it prints a  
>> warning
>> for this.
>
> 'port lint' is much more convenient than 'portindex'

Some whitespace warnings that port lint currently prints will be  
removed or will only appear when using a switch:

http://trac.macports.org/ticket/14799

port lint does not currently warn if you use tabs in your portfile,  
though spaces are preferred instead of tabs.

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to