Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 885 Bytes

File metadata and controls

29 lines (25 loc) · 885 Bytes

This directory contains files necessary for building Phar file

Modules excluded from phar file:

  • datafactory
  • doctrine2
  • laravel5
  • lumen
  • phalcon
  • symfony
  • yii2
  • zendexpressive / mezzio
  • zf2 / laminas

Additional dependency compared with codeception/codecepion:

  • hoa/console

Build instructions

  1. Install dependencies by running composer install in parent directory.
  2. Disable phar.readonly in your php.ini file, it must be phar.readonly = Off
  3. Build Codeception 4 phar file:
    1. Run ./vendor/bin/robo build:phar72
    2. Run ./vendor/bin/robo build:phar56
    3. Run ./vendor/bin/robo release
  4. Build Codeception 5 phar file:
    1. Run ./vendor/bin/robo build:phar80
    2. Run ./vendor/bin/robo release80
  5. Commit added files and push

Note: it is necessary to delete package/composer.lock and package/vendor between Codeception 4 and 5 builds.