Backport more tools for work flavour

This commit is contained in:
cytopia
2022-12-08 14:05:14 +01:00
parent 2bb64ccff6
commit a7292fdff9
89 changed files with 5061 additions and 419 deletions

View File

@@ -0,0 +1,7 @@
# WP-CLI
WP-CLI is the command-line interface for WordPress.
| Platform | Url |
|----------|------------------------------------------------------------------|
| GitHub | https://github.com/wp-cli/wp-cli |

View File

@@ -0,0 +1,23 @@
---
check: wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false)
all:
type: custom
command: curl -sS -L --fail "${WPCLI_URL}" -L -o /usr/local/bin/wp
build_dep: []
run_dep: []
pre: WPCLI_URL="https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar"
post: chmod +x /usr/local/bin/wp
5.5:
type: custom
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar"
5.4:
type: custom
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v2.4.0/wp-cli-2.4.0.phar"
5.3:
type: custom
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar"

View File

@@ -0,0 +1,11 @@
---
# The name of the module
name: wp-cli
# Exclude module build/installation for the following PHP versions
exclude: [5.2]
# In order for this tool to build/install correctly,
# the following tools must have been installed first.
depends: []