codecept.bat 287 B

1234567891011
  1. @echo off
  2. if "%PHPBIN%" == "" set PHPBIN=@php_bin@
  3. if exist "codecept" goto INTERNAL
  4. if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
  5. GOTO RUN
  6. :USE_PEAR_PATH
  7. set PHPBIN=%PHP_PEAR_PHP_BIN%
  8. :RUN
  9. "%PHPBIN%" "@bin_dir@\codecept" %*
  10. :INTERNAL
  11. "%PHPBIN%" "codecept" %*