Skip to content

Commit c46d807

Browse files
committed
rr composer bin moved from src
1 parent de5b5a3 commit c46d807

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313
- php composer-setup.php
1414
- php composer.phar install --no-interaction --prefer-source
1515
- find src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
16-
- chmod +x src/bin/rr && src/bin/rr get-binary
16+
- chmod +x bin/rr && bin/rr get-binary
1717

1818
script:
1919
- go test -race -v -coverprofile=lib.txt -covermode=atomic

src/bin/rr bin/rr

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
declare(strict_types=1);
1010

1111
foreach ([
12-
__DIR__ . '/../../../../autoload.php',
13-
__DIR__ . '/../../vendor/autoload.php',
12+
__DIR__ . '/../../../autoload.php',
13+
__DIR__ . '/../vendor/autoload.php',
1414
__DIR__ . '/vendor/autoload.php'
1515
] as $file) {
1616
if (file_exists($file)) {
@@ -62,7 +62,7 @@ class RRHelper
6262
*/
6363
public static function getVersion(): string
6464
{
65-
$file = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'build.sh';
65+
$file = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'build.sh';
6666
$fileResource = fopen($file, 'r') or die(1);
6767
while (!feof($fileResource)) {
6868
$line = fgets($fileResource, 4096);

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
}
2828
},
2929
"bin": [
30-
"src/bin/rr"
30+
"bin/rr"
3131
]
3232
}

0 commit comments

Comments
 (0)