Changeset 38337 for trunk/doc-new


Ignore:
Timestamp:
Jul 16, 2008, 10:22:16 AM (11 years ago)
Author:
simon@…
Message:

doc-new: Added description for "port lint".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/using.xml

    r33638 r38337  
    333333
    334334      <para></para>
     335    </section>
     336
     337    <section id="using.port.lint">
     338      <title>lint</title>
     339
     340      <para>The lint option checks if the Portfile conforms to the MacPorts
     341      standards specified in <link linkend="development">Portfile
     342      Development</link>.</para>
     343
     344      <para>If a Portfile validates fine the following message is
     345      shown.</para>
     346
     347      <programlisting><prompt>%%</prompt> <userinput>port lint chemtool</userinput></programlisting>
     348
     349      <screen>--->  Verifying Portfile for chemtool
     350--->  0 errors and 0 warnings found.</screen>
     351
     352      <para>Otherwise the warnings and errors are listed.</para>
     353
     354      <programlisting><prompt>%%</prompt> <userinput>port lint KeyArcher</userinput></programlisting>
     355
     356      <screen>--->  Verifying Portfile for KeyArcher
     357Warning: Line 2 should be a newline (after RCS tag)
     358Warning: Line 5 has trailing whitespace before newline
     359Error: Missing required variable: platforms
     360--->  1 errors and 2 warnings found.
     361</screen>
    335362    </section>
    336363  </section>
Note: See TracChangeset for help on using the changeset viewer.