From 82a8f798d9761121b5d9f693595132ebe7cadde7 Mon Sep 17 00:00:00 2001 From: William Arin <69433384+williarin@users.noreply.github.com> Date: Sat, 31 Dec 2022 18:38:49 +0800 Subject: [PATCH] Add recipe for phpsword/sword-bundle (#1471) --- .../1.0/config/packages/sword.yaml | 2 ++ .../sword-bundle/1.0/config/routes/sword.yaml | 2 ++ phpsword/sword-bundle/1.0/manifest.json | 21 +++++++++++++++++++ phpsword/sword-bundle/1.0/post-install.txt | 1 + 4 files changed, 26 insertions(+) create mode 100644 phpsword/sword-bundle/1.0/config/packages/sword.yaml create mode 100644 phpsword/sword-bundle/1.0/config/routes/sword.yaml create mode 100644 phpsword/sword-bundle/1.0/manifest.json create mode 100644 phpsword/sword-bundle/1.0/post-install.txt diff --git a/phpsword/sword-bundle/1.0/config/packages/sword.yaml b/phpsword/sword-bundle/1.0/config/packages/sword.yaml new file mode 100644 index 00000000..492ab06c --- /dev/null +++ b/phpsword/sword-bundle/1.0/config/packages/sword.yaml @@ -0,0 +1,2 @@ +sword: + child_theme_translation_domain: 'mychildtheme' diff --git a/phpsword/sword-bundle/1.0/config/routes/sword.yaml b/phpsword/sword-bundle/1.0/config/routes/sword.yaml new file mode 100644 index 00000000..acdbac16 --- /dev/null +++ b/phpsword/sword-bundle/1.0/config/routes/sword.yaml @@ -0,0 +1,2 @@ +sword: + resource: '@SwordBundle/config/routing.yaml' diff --git a/phpsword/sword-bundle/1.0/manifest.json b/phpsword/sword-bundle/1.0/manifest.json new file mode 100644 index 00000000..775b42af --- /dev/null +++ b/phpsword/sword-bundle/1.0/manifest.json @@ -0,0 +1,21 @@ +{ + "bundles": { + "Sword\\SwordBundle\\SwordBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "copy-from-package": { + "install/wp/wp-config.php": "wp/wp-config.php", + "install/docker/": "docker/", + "install/Makefile": "Makefile" + }, + "gitignore": [ + "/wp/*", + "!wp/wp-config.php", + "!wp/content", + "wp/content/*", + "!wp/content/themes", + "wp/content/themes/twenty*" + ] +} diff --git a/phpsword/sword-bundle/1.0/post-install.txt b/phpsword/sword-bundle/1.0/post-install.txt new file mode 100644 index 00000000..55bed9a2 --- /dev/null +++ b/phpsword/sword-bundle/1.0/post-install.txt @@ -0,0 +1 @@ + * Read the documentation at https://getsword.com