-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat: composer cleanup task #1877
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we include this in the README too?
@bshaffer what's the latest with this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really clever, I like it 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All it needs is usage instructions in the README. :)
@jdpedrie @dwsupplee the |
{ | ||
$composerJson = json_encode([ | ||
'require' => [ | ||
'google/apiclient' => 'dev-add-composer-cleanup' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will need to change this before tagging a new version!
894ac44
to
4036571
Compare
An attempt to solve #1867 for those who have filesize limits:
In your
composer.json
:This will remove all services but
YouTube
. If a non-existent service is supplied, an exception is thrown.