From 911a0210ef073c7249d10950d8a513e9763fc747 Mon Sep 17 00:00:00 2001 From: Divine Niiquaye Date: Sun, 23 Jun 2019 03:20:55 +0000 Subject: [PATCH] fixed test binary --- .gitattributes | 25 +++++++++++++++++++++++++ test | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ffe5164 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,25 @@ +# Auto-detect text files, ensure they use LF. +text=auto eol=lf + +# These files are always considered text and should use LF. +# See core.whitespace @ http://git-scm.com/docs/git-config for whitespace flags. +.php text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 diff=php +.json text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 +.test text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 +.yml text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=2 + +# Exclude non-essential files from dist +/tests export-ignore +.github export-ignore +.php_cs export-ignore +.travis.yml export-ignore +.scrutinizer.yml export-ignore +/docs export-ignore +logo.png export-ignore +appveyor.yml export-ignore +phpunit.xml export-ignore +clite.json export-ignore +clite.phar export-ignore +clite.phar.pubkey export-ignore +loader.json export-ignore +autoload.php export-ignore diff --git a/test b/test index c988eab..c49f691 100644 --- a/test +++ b/test @@ -3,8 +3,8 @@ use BiuradPHP\Toolbox\ConsoleLite\Application; -if (file_exists(__DIR__.'/autoload.php')) { - require __DIR__.'/autoload.php'; +if (file_exists(__DIR__.'/vendor/autoload.php')) { + require __DIR__.'/vendor/autoload.php'; } else { throw new \RuntimeException('You need to download "biurad/autoloader" from github.com'); }