Exemple #1
0
 /**
  * Initialize Build Task
  */
 public function __construct()
 {
     parent::__construct();
     $this->target = JPATH_BASE . "/dist/" . $this->getExtensionName() . "-" . $this->getConfig()->version . ".zip";
     $this->zip = new \ZipArchive($this->target, \ZipArchive::CREATE);
 }
Exemple #2
0
 /**
  * Initialize Build Task
  */
 public function __construct()
 {
     parent::__construct();
     $this->target = JPATH_BASE . "/dist/pkg-" . $this->getExtensionName() . "-" . $this->getConfig()->version . ".zip";
     $this->current = JPATH_BASE . "/dist/current";
 }