protected function executeBuild($method, $build_path)
    {
        $this->say('Build has initialized!');
        $this->executeCommandHook($method, 'before_build');
        $this->projectInstance()->onDeployBuild($build_path);
        $this->executeCommandHook($method, 'after_build');
        $this->say('Build has completed!');

        return $this;
    }
protected function executeBuild($method, $build_path)
    {
        $this->say('Build has initialized!');
        $this->executeCommandHook($method, 'before_build');
        $this->projectInstance()->onDeployBuild($build_path);
        $this->executeCommandHook($method, 'after_build');
        $this->say('Build has completed!');

        return $this;
    }
protected function executeBuild ( $ method , $ build_path ) { $ this -> say ( 'Build has initialized!' ) ; $ this -> executeCommandHook ( $ method , 'before_build' ) ; $ this -> projectInstance ( ) -> onDeployBuild ( $ build_path ) ; $ this -> executeCommandHook ( $ method , 'after_build' ) ; $ this -> say ( 'Build has completed!' ) ; return $ this ; }
Execute build process.

@param $method
@param $build_path

@return self
@throws \Psr\Container\ContainerExceptionInterface
@throws \Psr\Container\NotFoundExceptionInterface
Execute build process .