mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-28 19:20:56 +00:00
15 lines
266 B
Bash
Executable File
15 lines
266 B
Bash
Executable File
set -x
|
|
|
|
SCRIPT_PATH="$(cd "$(dirname "$0")"; pwd -P)"
|
|
cd "${SCRIPT_PATH}"
|
|
|
|
php -S 127.0.0.1:8000 -t PHPCurlClass/ &> /dev/null &
|
|
pid="${!}"
|
|
extra_args="${@}"
|
|
phpunit \
|
|
--configuration "phpunit.xml" \
|
|
--debug \
|
|
--verbose \
|
|
${extra_args}
|
|
kill "${pid}"
|