Merged
Conversation
|
Awesome! I will include wp-cli into the next part of "WordPress Testing" series. |
changes: * make WP_CLI_ROOT relative to the root dir, not to php/ * remove man/ and add vendor/rmmcue
Member
Author
|
The Phar file can now be downloaded from http://wp-cli.org/builds/phar/wp-cli-nightly.phar Or, over HTTPS: https://github.com/wp-cli/builds/raw/gh-pages/phar/wp-cli-nightly.phar |
scribu
added a commit
that referenced
this pull request
Aug 15, 2013
scribu
added a commit
that referenced
this pull request
Aug 16, 2013
Member
Author
|
Having a Phar file really came in handy today. I had an old install of WP-CLI 0.10-alpha running on an underpowered server. When I tried to run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@DavertMik made a convincing case for providing a Phar archive as an installation option.
In summary:
If you're using WP-CLI yourself, you should install it via Composer.
If you want to use WP-CLI as a tool for automation, like say in a Travis CI script, it makes more sense to download a single Phar archive. (We could even use this to replace https://github.com/wp-cli/wp-cli/blob/master/templates/install-wp-tests.sh)
A
wp self-updatecommand (#522) would need to take into account if it's installed as a Phar archive or not.The plan is to have two Phar files:
Tasks: