dotfiles/bin/phpunit-or-pest

9 lines
99 B
Bash
Executable file

#!/usr/bin/env bash
if [[ -f "vendor/bin/pest" ]]; then
echo "pest"
exit 0
fi
echo "phpunit"