-
Notifications
You must be signed in to change notification settings - Fork 1k
Reduce included files (behat/phpunit in particular). Add 'cli' test build option. #4185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Yes, are there ideas floating around as to how to do that?! |
@schlessera had it running, but I'm unsure of its current status. |
|
I'll try to move #4108 forward, it is one of the tasks I wanted to be done for 1.3.0 as well. |
|
@gitlost Happy with this? If so, feel free to merge at your convenience. I'd like to get this landed sooner rather than later so we can see if any bugs shake out of it. |
Issue #4170
Does not include behat or phpunit files.
Tries in general to only include files needed - for instance only specific symfony components, and no spdx-licenses, command, console or Pear stuff for composer.
Excludes "composer/ca-bundle/res/cacert.pem" as it doesn't seem to be needed as "rmccue/requests/library/Requests/Transport/cacert.pem" is used instead.
Processes the autoload_* files to remove unused entries.
Also adds a
buildoption to make a much reduced test phar that can only runclicommands such aswp --versionandwp cli check-update- although not used here it will be in a future patch to speed up testing (cli.featurein particular). (See gitlost#12 for the gory details.)Also removes the "Include base project files, because the autoloader will load them" branch, added in #3923, that doesn't seem to be needed (I think).