Implemented function to build a project.