mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01:00
12 lines
323 B
Bash
12 lines
323 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -eux
|
||
|
|
||
|
echo "Installing wp-cli..."
|
||
|
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||
|
sudo chmod +x wp-cli.phar
|
||
|
sudo mv wp-cli.phar /usr/local/bin/wp
|
||
|
|
||
|
# Copy the welcome message
|
||
|
sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|