protected function buildTask($archivename = null)
    {
        $this->readProperties();
        $archive = is_null($archivename) ? $this->time . '.tar.gz' : $archivename;
        $collection = $this->collectionBuilder();
        $collection
            ->taskPackageProject($archive);
        return $collection;
    }
protected function buildTask($archivename = null)
    {
        $this->readProperties();
        $archive = is_null($archivename) ? $this->time . '.tar.gz' : $archivename;
        $collection = $this->collectionBuilder();
        $collection
            ->taskPackageProject($archive);
        return $collection;
    }
protected function buildTask ( $ archivename = null ) { $ this -> readProperties ( ) ; $ archive = is_null ( $ archivename ) ? $ this -> time . '.tar.gz' : $ archivename ; $ collection = $ this -> collectionBuilder ( ) ; $ collection -> taskPackageProject ( $ archive ) ; return $ collection ; }
Build a site and package it.

@param string $archivename
Name of the archive to create.

@return \Robo\Contract\TaskInterface
The deploy task.
Build a site and package it .