Created buildProject.sh to build the project and fail if error