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

Commit d499ff7

Browse files
pierlonKaspars Dambis
authored andcommitted
Download required WP Core asset dependency files (#310)
1 parent e0205d7 commit d499ff7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/check-diff.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,9 @@ function install_wp {
581581

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

584-
# Add workaround for running PHPUnit tests from source by touching built files.
585-
mkdir -p "$WP_CORE_DIR/src/wp-includes/css/dist/block-library"
586-
touch "$WP_CORE_DIR/src/wp-includes/css/dist/block-library/style.css"
584+
# Download `wp-includes` folder from the WordPress Core SVN repo to include built internal dependencies.
585+
local SVN_CORE_URL=${SVN_URL/develop/core}
586+
svn export -q "${SVN_CORE_URL}wp-includes" "$WP_CORE_DIR/src/wp-includes"
587587

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

0 commit comments

Comments
 (0)