mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-26 02:41:36 +02:00
13 lines
324 B
Bash
Executable File
13 lines
324 B
Bash
Executable File
#!/bin/sh
|
|
composer update
|
|
|
|
php -r 'echo "\nPHP version " . phpversion() . ". ";';
|
|
|
|
if [ -z $1 ];
|
|
then
|
|
echo "Running all unit tests.\n"
|
|
php ./vendor/phpunit/phpunit/phpunit tests
|
|
else
|
|
echo "Running all unit tests, except tests marked with @group $1.\n"
|
|
php ./vendor/phpunit/phpunit/phpunit --exclude-group $1 tests
|
|
fi |