build_phase function

Build build_phase command