Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/create-gutenberg-test-post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ ! -e $GUTENBERG_PATH ]]; then
echo "This needs to clone the Gutenberg plugin into your plugins directory, as it looks like it's not there."
read -p "Is that alright? y/n " -r
if [[ $REPLY =~ [Yy] ]]; then
git clone https://github.com/WordPress/gutenberg.git
git clone --depth=1 https://github.com/WordPress/gutenberg.git
wp plugin activate gutenberg
echo "The Gutenberg plugin is cloned. Please follow the build steps:"
echo "https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md"
Expand Down
3 changes: 2 additions & 1 deletion bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ install_db() {
fi

# create database
mysqladmin create $DB_NAME --user="$DB_USER" --password="$DB_PASS"$EXTRA
mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA -e"DROP DATABASE IF EXISTS $DB_NAME"
mysql --user="$DB_USER" --password="$DB_PASS"$EXTRA -e"create DATABASE $DB_NAME"
}

install_wp
Expand Down
Loading