-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugcommand:packageRelated to 'package' commandRelated to 'package' commandscope:testingRelated to testingRelated to testing
Milestone
Description
See https://travis-ci.org/wp-cli/package-command/builds/209899744
01. $ php -dphar.readonly=0 'features/bootstrap/../../utils/make-phar.php' '/tmp/wp-cli-test-run-58c317feeaf023.95759079/wp-cli-build-58c317feeaff24.74413409.phar' --version='0.23.0' && chmod +x '/tmp/wp-cli-test-run-58c317feeaf023.95759079/wp-cli-build-58c317feeaff24.74413409.phar'
Could not open input file: features/bootstrap/../../utils/make-phar.php
Which option makes more sense?
- Include
utils/make-phar.phpas a one-off in this repo. - Add
utils/make-phar.phptowp scaffold package-testsso that the Phar creation step is available to every WP-CLI command. - Add
utils/make-phar.phpto the generated WP-CLI Phar file, so that it's available
I'm leaning towards 3 at this point, so there's always one source of truth for Phar generation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcommand:packageRelated to 'package' commandRelated to 'package' commandscope:testingRelated to testingRelated to testing