Is building supposed to occur at install or script phase?

There seems to be confusion in the job lifecycle design on whether building of the user’s project is supposed to occur at the script phase, or it should rather occur at the install phase while the script phase is reserved solely for running tests after that.