make OXID sub tasks hidden

Cette révision appartient à :
Daniel Seifert 2024-11-04 21:55:43 +01:00
Parent 18aa3c60b6
révision 7c429da0f3
Signé par: DanielS
ID de la clé GPG: 6A513E13AEE66170
2 fichiers modifiés avec 5 ajouts et 5 suppressions

Voir le fichier

@ -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();

Voir le fichier

@ -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'))) {