From 7c429da0f3f1f5b9fc52107ddf748c25bbe908c4 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Mon, 4 Nov 2024 21:55:43 +0100 Subject: [PATCH] make OXID sub tasks hidden --- recipe/deployTasks.php | 8 ++++---- recipe/setupTasks.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/recipe/deployTasks.php b/recipe/deployTasks.php index d98af21..796b769 100644 --- a/recipe/deployTasks.php +++ b/recipe/deployTasks.php @@ -4,22 +4,22 @@ namespace Deployer; task('deploy:d3OxidBeforeVendorsTasks', [ 'deploy:oxid_backup_configfile' -]); +])->hidden(); task('deploy:oxid_backup_configfile', function() { if (test('[ -f {{release_path}}/source/config.inc.php ]')) { run('mv {{release_path}}/source/config.inc.php {{release_path}}/source/config.deployment.inc.php'); } -}); +})->hidden(); desc('Oxid related tasks'); task('deploy:d3OxidAfterVendorTasks', [ 'deploy:oxid_restore_configfile', 'deploy:clear_paths' -]); +])->hidden(); task('deploy:oxid_restore_configfile', function() { if (test('[ -f {{release_path}}/source/config.deployment.inc.php ]')) { run('mv {{release_path}}/source/config.deployment.inc.php {{release_path}}/source/config.inc.php'); } -}); +})->hidden(); diff --git a/recipe/setupTasks.php b/recipe/setupTasks.php index d7c368c..e2a2bf3 100644 --- a/recipe/setupTasks.php +++ b/recipe/setupTasks.php @@ -4,7 +4,7 @@ namespace Deployer; require_once 'inc/database.php'; -desc('create database coniguration file'); +desc('create database configuration file'); task('setup:createDbConfig', function () { try { if (!has('db_conf_path') || !strlen(get('db_conf_path'))) {