Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Commit

Permalink
Speed-p build process
Browse files Browse the repository at this point in the history
Call the startBuffering method when building archive to speedup the phar building
  • Loading branch information
Miha Vrhovnik committed Nov 13, 2015
1 parent 34259e6 commit 7ef5b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/KevinGH/Box/Command/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->putln('?', "Output path: $path");

$this->box = Box::create($path);
$this->box->getPhar()->startBuffering();

// set replacement values, if any
if (array() !== ($values = $this->config->getProcessedReplacements())) {
Expand Down

0 comments on commit 7ef5b4d

Please sign in to comment.