Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Download full wp-includes folder
Browse files Browse the repository at this point in the history
  • Loading branch information
pierlon committed Jan 7, 2020
1 parent 3ba3845 commit 33a9cf8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/check-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,9 @@ function install_wp {

svn export -q "$SVN_URL" "$WP_CORE_DIR"

# Add workaround for running PHPUnit tests from source by touching built files.
mkdir -p "$WP_CORE_DIR/src/wp-includes/css/dist/block-library"
touch "$WP_CORE_DIR/src/wp-includes/css/dist/block-library/style.css"

# Download required asset dependency files
# Download `wp-includes` folder from the WordPress Core SVN repo to include built internal dependencies.
local SVN_CORE_URL=${SVN_URL/develop/core}
svn export -q "${SVN_CORE_URL}wp-includes/assets/dist" "$WP_CORE_DIR/src/wp-includes/assets/dist"
svn export -q "${SVN_CORE_URL}wp-includes" "$WP_CORE_DIR/src/wp-includes"

download https://raw.github.com/markoheijnen/wp-mysqli/master/db.php "$WP_CORE_DIR/src/wp-content/db.php"
}
Expand Down

0 comments on commit 33a9cf8

Please sign in to comment.