From 2d1ba2cf32556d9c01ff7bd05bb02ec9bfb44e5c Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Thu, 10 Mar 2022 09:58:10 +0100 Subject: [PATCH] Make league/flysystem-bundle an official recipe (#1067) --- .../flysystem-bundle/1.0/config/packages/flysystem.yaml | 7 +++++++ league/flysystem-bundle/1.0/manifest.json | 9 +++++++++ league/flysystem-bundle/1.0/post-install.txt | 4 ++++ league/flysystem-bundle/1.0/var/storage/.gitignore | 0 4 files changed, 20 insertions(+) create mode 100644 league/flysystem-bundle/1.0/config/packages/flysystem.yaml create mode 100644 league/flysystem-bundle/1.0/manifest.json create mode 100644 league/flysystem-bundle/1.0/post-install.txt create mode 100644 league/flysystem-bundle/1.0/var/storage/.gitignore diff --git a/league/flysystem-bundle/1.0/config/packages/flysystem.yaml b/league/flysystem-bundle/1.0/config/packages/flysystem.yaml new file mode 100644 index 00000000..f8ce4d03 --- /dev/null +++ b/league/flysystem-bundle/1.0/config/packages/flysystem.yaml @@ -0,0 +1,7 @@ +# Read the documentation at https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md +flysystem: + storages: + default.storage: + adapter: 'local' + options: + directory: '%kernel.project_dir%/%VAR_DIR%/storage/default' diff --git a/league/flysystem-bundle/1.0/manifest.json b/league/flysystem-bundle/1.0/manifest.json new file mode 100644 index 00000000..bf883c9e --- /dev/null +++ b/league/flysystem-bundle/1.0/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "League\\FlysystemBundle\\FlysystemBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "var/": "%VAR_DIR%/" + } +} diff --git a/league/flysystem-bundle/1.0/post-install.txt b/league/flysystem-bundle/1.0/post-install.txt new file mode 100644 index 00000000..94966904 --- /dev/null +++ b/league/flysystem-bundle/1.0/post-install.txt @@ -0,0 +1,4 @@ + * Configure your own storages in config/packages/flysystem.yaml. + + * Read the documentation at: + https://github.com/thephpleague/flysystem-bundle/blob/master/docs/1-getting-started.md diff --git a/league/flysystem-bundle/1.0/var/storage/.gitignore b/league/flysystem-bundle/1.0/var/storage/.gitignore new file mode 100644 index 00000000..e69de29b