Skip to content

Commit

Permalink
Merge pull request #8 from clue/add-extract
Browse files Browse the repository at this point in the history
Support running phar archives with no ext-phar
  • Loading branch information
clue committed Aug 15, 2013
2 parents 35758bf + b3d8ee3 commit 4ef6a19
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/clue/phar-composer",
"license": "MIT",
"require": {
"herrera-io/box": "~1.2",
"herrera-io/box": "~1.5",
"symfony/console": "~2.1",
"symfony/finder": "~2.1",
"symfony/process": "~2.1"
Expand Down
18 changes: 12 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Clue/PharComposer/PharComposer.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public function build()
} else {
$generator = StubGenerator::create()
->index($this->getPathLocalToBase($main))
->extract(true)
->banner("Bundled by phar-composer with the help of php-box.\n\n@link https://github.com/clue/phar-composer");

$lines = file($main, FILE_IGNORE_NEW_LINES);
Expand Down

0 comments on commit 4ef6a19

Please sign in to comment.