Skip to content

Commit 023ba33

Browse files
committed
improves phar build, fixes #97
1 parent 836edf2 commit 023ba33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*.DS_Store
2-
opentok-php-sdk.phar
2+
opentok.phar
33
vendor/
44
phpunit.xml
55
sample/HelloWorld/vendor/

box.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"alias": "opentok-php-sdk",
2+
"alias": "opentok",
33
"directories": [ "src" ],
44
"files": [ "tools/stub.php" ],
55
"finder": [
@@ -9,6 +9,6 @@
99
"in": "vendor"
1010
}
1111
],
12-
"output": "opentok-php-sdk.phar",
12+
"output": "opentok.phar",
1313
"stub": "tools/stub.php"
1414
}

tools/stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
Phar::mapPhar('mycars.phar');
3+
Phar::mapPhar('opentok.phar');
44

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

0 commit comments

Comments
 (0)