From 0feb5bb0c27574e9274b0c488562fc0f4de24a3f Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Thu, 15 Aug 2024 22:58:07 +0200 Subject: [PATCH] Activate Posts-to-Posts after phpdoc-parser --- README.md | 2 +- blueprint.json | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e2b11a..8e6d5d5 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,4 @@ ## Learnings 1. Needs to run php 7.4 -2. \ No newline at end of file +2. Activate Posts-to-Posts after phpdoc-parser, because of clashing dependencies \ No newline at end of file diff --git a/blueprint.json b/blueprint.json index bb1c6c2..4dfbe02 100644 --- a/blueprint.json +++ b/blueprint.json @@ -45,6 +45,16 @@ "activate": true } }, + { + "step": "installPlugin", + "pluginZipFile": { + "resource": "wordpress.org/plugins", + "slug": "posts-to-posts" + }, + "options": { + "activate": true + } + }, { "step": "writeFile", "path": "/wordpress/wporg-mu-plugins.zip", @@ -84,9 +94,14 @@ "activate": false } }, + { + "step": "mv", + "fromPath": "/wordpress/wp-content/themes/wporg-parent-2021-build", + "toPath": "/wordpress/wp-content/themes/wporg-parent-2021" + }, { "step": "writeFile", - "path": "/wordpress/wp-content/themes/wporg-parent-2021-build/functions.php", + "path": "/wordpress/wp-content/themes/wporg-parent-2021/functions.php", "data": { "resource": "url", "url": "https://raw.githubusercontent.com/carstingaxion/gatherpress-devhub/WIP/use-build-deps/wp-content/themes/wporg-parent-2021-build/functions.php"