Skip to content

Commit

Permalink
improves phar build, fixes #97
Browse files Browse the repository at this point in the history
  • Loading branch information
aoberoi committed Dec 11, 2014
1 parent 836edf2 commit 023ba33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,5 +1,5 @@
*.DS_Store
opentok-php-sdk.phar
opentok.phar
vendor/
phpunit.xml
sample/HelloWorld/vendor/
Expand Down
4 changes: 2 additions & 2 deletions box.json
@@ -1,5 +1,5 @@
{
"alias": "opentok-php-sdk",
"alias": "opentok",
"directories": [ "src" ],
"files": [ "tools/stub.php" ],
"finder": [
Expand All @@ -9,6 +9,6 @@
"in": "vendor"
}
],
"output": "opentok-php-sdk.phar",
"output": "opentok.phar",
"stub": "tools/stub.php"
}
2 changes: 1 addition & 1 deletion tools/stub.php
@@ -1,6 +1,6 @@
<?php

Phar::mapPhar('mycars.phar');
Phar::mapPhar('opentok.phar');

require_once('phar://'.__FILE__.DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR.'autoload.php');

Expand Down

0 comments on commit 023ba33

Please sign in to comment.