Whitespaces in Portfile
ryandesign at macports.org
Wed Jul 16 14:40:28 PDT 2008
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.
>> Additionally, watch out for trailing whitespace - especially when the
>> line should end with a backslash. Use 'port lint', it prints a
>> 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:
port lint does not currently warn if you use tabs in your portfile,
though spaces are preferred instead of tabs.
More information about the macports-dev