diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | bin/rr (renamed from src/bin/rr) | 6 | ||||
-rw-r--r-- | composer.json | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index fdd4e716..9ae4200a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: - php composer-setup.php - php composer.phar install --no-interaction --prefer-source - find src/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l - - chmod +x src/bin/rr && src/bin/rr get-binary + - chmod +x bin/rr && bin/rr get-binary script: - go test -race -v -coverprofile=lib.txt -covermode=atomic @@ -9,8 +9,8 @@ declare(strict_types=1); foreach ([ - __DIR__ . '/../../../../autoload.php', - __DIR__ . '/../../vendor/autoload.php', + __DIR__ . '/../../../autoload.php', + __DIR__ . '/../vendor/autoload.php', __DIR__ . '/vendor/autoload.php' ] as $file) { if (file_exists($file)) { @@ -62,7 +62,7 @@ class RRHelper */ public static function getVersion(): string { - $file = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'build.sh'; + $file = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'build.sh'; $fileResource = fopen($file, 'r') or die(1); while (!feof($fileResource)) { $line = fgets($fileResource, 4096); diff --git a/composer.json b/composer.json index f71236b1..fd50fa16 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,6 @@ } }, "bin": [ - "src/bin/rr" + "bin/rr" ] } |