Skip to content

Instantly share code, notes, and snippets.

@caillioux
Created January 25, 2017 15:20
Show Gist options
  • Select an option

  • Save caillioux/907089c7c4abe61509c68d5096cb451a to your computer and use it in GitHub Desktop.

Select an option

Save caillioux/907089c7c4abe61509c68d5096cb451a to your computer and use it in GitHub Desktop.
#!/bin/sh
cwd=`pwd`
if [ ! -f $cwd/vendor/bin/phpunit ]; then
echo "No local phpunit found."
exit 1
fi
php vendor/bin/phpunit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment