Tests: Make lint.sh a little more useful

This commit is contained in:
Dylan K. Taylor
2018-02-12 11:34:51 +00:00
parent b7bd8dc7f1
commit 6e7a693355
2 changed files with 14 additions and 5 deletions

View File

@ -10,7 +10,7 @@ while getopts "p:" OPTION 2> /dev/null; do
esac
done
./tests/lint.sh -p "$PHP_BINARY"
./tests/lint.sh -p "$PHP_BINARY" -d ./src/pocketmine
if [ $? -ne 0 ]; then
echo Lint scan failed!