We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
custom-post
The current relevat steps:
{ "step": "mkdir", "path": "/wordpress/wp-content/plugins/books" }, { "step": "writeFile", "path": "/wordpress/wp-content/plugins/books/books.php", "data": { "resource": "url", "url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/custom-post/books.php" } },
Become something like this:
{ "step": "installPlugin", "pluginData": { "resource": "literal:directory", "name": "books", "files": { "books.php": { "resource": "url", "url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/custom-post/books.php" } } }, "options": { "activate": true } }
That actually assumes that installPlugin step handles both creating the directory and writing the file in one go.
installPlugin
If that assumption is wrong, here is the alternative:
{ "step": "writeFiles", "writeToPath": "/wordpress/wp-content/plugins/books", "filesTree": { "name": "books", "files": { "books.php": { "resource": "url", "url": "https://raw.githubusercontent.com/wordpress/blueprints/trunk/blueprints/custom-post/books.php" } } } }, { "step": "activatePlugin", "pluginPath": "books/books.php" }
@adamziel @brandonpayton any thoughts here?
The text was updated successfully, but these errors were encountered:
7ece00f
bph
Successfully merging a pull request may close this issue.
The current relevat steps:
Become something like this:
That actually assumes that
installPlugin
step handles both creating the directory and writing the file in one go.If that assumption is wrong, here is the alternative:
@adamziel @brandonpayton any thoughts here?
The text was updated successfully, but these errors were encountered: