Changes between Version 35 and Version 36 of CommittersTipsAndTricks


Ignore:
Timestamp:
Oct 25, 2010, 5:54:14 PM (14 years ago)
Author:
jjstickel@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommittersTipsAndTricks

    v35 v36  
    300300rmd160 1f842ea95ad6dd2cba2cdc2d2bd8e0be5063fb9b
    301301}}}
     302
     303== Testing Port Phases ==
     304
     305Individual port phases (extract, patch, configure, build, etc.) can be run by using the appropriate keyword:
     306{{{
     307port build python26
     308}}}
     309All phases that have not already been performed up to the designated phase will be run.  If you want to rerun a port command that completed successfully, you can edit ./work/.macports.[port name].state and remove the lines up to the completed stage you want to keep.
     310
     311By default, if the portfile is changed, you will get the message:
     312{{{
     313Portfile changed since last build; discarding previous state.
     314}}}
     315and the build directory will be removed (cleaned) before proceeding.  When debugging a portfile, this can be avoided by using the '-o' flag (from the manpage):
     316{{{
     317-o       honor state files older than Portfile
     318}}}