Skip to content

Commit

Permalink
fixed test binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Divine Niiquaye committed Jun 23, 2019
1 parent e1ec899 commit 911a021
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions test
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 911a021

Please sign in to comment.