From aa2554ca01f02de73f63de56f0fdccc0bbdd4e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Bran=CC=83a=20Bouza?= Date: Wed, 5 Jun 2024 23:44:46 +0200 Subject: [PATCH 1/2] add vip config --- configure.php | 6 +-- vip-config/vip-config.php | 103 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 4 deletions(-) create mode 100644 vip-config/vip-config.php diff --git a/configure.php b/configure.php index abed4bb..86196e0 100644 --- a/configure.php +++ b/configure.php @@ -653,15 +653,12 @@ function install_plugin( array $plugin_data, bool $prompt, &$installed_plugins ) run( 'ln -s mu-plugins/drop-ins/object-cache.php object-cache.php' ); } - write( 'Scaffolding out vip-config...' ); - - run( 'mkdir -p vip-config && touch vip-config/.gitkeep' ); - write( 'Scaffolding out VIP directories...' ); run( 'mkdir -p images && touch images/.gitkeep' ); run( 'mkdir -p languages && touch languages/.gitkeep' ); run( 'mkdir -p private && touch private/.gitkeep' ); + run( 'touch vip-config/.gitkeep' ); echo "Done!\n\n"; } elseif ( 'pantheon' === $hosting_provider ) { @@ -669,6 +666,7 @@ function install_plugin( array $plugin_data, bool $prompt, &$installed_plugins ) delete_files( [ + 'vip-config', '.github/workflows/deploy-to-vip.yml', '.circleci', ] diff --git a/vip-config/vip-config.php b/vip-config/vip-config.php new file mode 100644 index 0000000..c5f30b7 --- /dev/null +++ b/vip-config/vip-config.php @@ -0,0 +1,103 @@ + Date: Tue, 11 Jun 2024 11:03:17 +0200 Subject: [PATCH 2/2] Update configure.php --- configure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.php b/configure.php index 86196e0..6c5fe91 100644 --- a/configure.php +++ b/configure.php @@ -658,7 +658,7 @@ function install_plugin( array $plugin_data, bool $prompt, &$installed_plugins ) run( 'mkdir -p images && touch images/.gitkeep' ); run( 'mkdir -p languages && touch languages/.gitkeep' ); run( 'mkdir -p private && touch private/.gitkeep' ); - run( 'touch vip-config/.gitkeep' ); + run( 'mkdir -p vip-config && touch vip-config/.gitkeep' ); echo "Done!\n\n"; } elseif ( 'pantheon' === $hosting_provider ) {