public function compile($name = 'teleport.phar')
    {
        $this->cleanse($name);

        $this->getVersion();

        echo "building {$name} version {$this->version} ({$this->versionDate})" . PHP_EOL;

        $phar = $this->preparePhar($name);

        $this->addSrc($phar);

        $this->addTpl($phar);

        $this->addAutoload($phar);

        $this->addDependencies($phar);

        $this->addTeleportBin($phar);

        $phar->setStub($this->getStub());

        $this->addLicense($phar);

        $this->writePhar($phar);

        unset($phar);
    }
public function compile($name = 'teleport.phar')
    {
        $this->cleanse($name);

        $this->getVersion();

        echo "building {$name} version {$this->version} ({$this->versionDate})" . PHP_EOL;

        $phar = $this->preparePhar($name);

        $this->addSrc($phar);

        $this->addTpl($phar);

        $this->addAutoload($phar);

        $this->addDependencies($phar);

        $this->addTeleportBin($phar);

        $phar->setStub($this->getStub());

        $this->addLicense($phar);

        $this->writePhar($phar);

        unset($phar);
    }
public function compile ( $ name = 'teleport.phar' ) { $ this -> cleanse ( $ name ) ; $ this -> getVersion ( ) ; echo "building {$name} version {$this->version} ({$this->versionDate})" . PHP_EOL ; $ phar = $ this -> preparePhar ( $ name ) ; $ this -> addSrc ( $ phar ) ; $ this -> addTpl ( $ phar ) ; $ this -> addAutoload ( $ phar ) ; $ this -> addDependencies ( $ phar ) ; $ this -> addTeleportBin ( $ phar ) ; $ phar -> setStub ( $ this -> getStub ( ) ) ; $ this -> addLicense ( $ phar ) ; $ this -> writePhar ( $ phar ) ; unset ( $ phar ) ; }
Compile Teleport into a Phar for distribution.

@throws \RuntimeException If there is an error during compilation of the phar.
Compile Teleport into a Phar for distribution .