Skip to content
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

Improve Composer require-dev During Build #90

Closed
jaswrks opened this issue Apr 23, 2016 · 2 comments
Closed

Improve Composer require-dev During Build #90

jaswrks opened this issue Apr 23, 2016 · 2 comments
Labels

Comments

@jaswrks
Copy link
Contributor

jaswrks commented Apr 23, 2016

During the build process (i.e., in the .~build/[dir] phase), we should run Composer a second time and with an additional flag that will be sure to exclude all require-dev dependencies, as these should never be included in any official build of the software for redistribution.

At the moment, we have some hard-coded exclusions to work around this issue already, but moving forward this is going to become a bigger problem. Particularly when it comes to the WPSC.

Referencing install option: --no-dev:
https://getcomposer.org/doc/03-cli.md#install

@raamdev
Copy link
Contributor

raamdev commented May 12, 2016

Related: #88

@jaswrks
Copy link
Contributor Author

jaswrks commented May 26, 2016

Resolved in the release of v160526.
https://github.com/websharks/phings/releases/tag/160526

@jaswrks jaswrks closed this as completed May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants