8
0

clearify task names

Dieser Commit ist enthalten in:
Daniel Seifert 2024-10-25 10:29:42 +02:00
Ursprung 2bc766d242
Commit 74f27c816b
2 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -43,8 +43,8 @@ This command set `current` directory to previous deployment:
## Available tasks
- dep `shop:version` [stage] - show version of current OXID installation
- dep `shop:migrate` [stage] - run all database migrations
- dep `shop:getVersion` [stage] - show version of current OXID installation
- dep `shop:runMigration` [stage] - run all database migrations
- dep `setup:createDbConfig` [stage] - generate database configuration file
- dep `list`- list all available commands

Datei anzeigen

@ -20,7 +20,7 @@ task('deploy:d3OxidTasks', [
]);
desc('run all database migrations');
task('shop:migrate', [
task('shop:runMigration', [
'shop:setShopsOffline',
'shop:executeMigrations',
'shop:setShopsOnline'
@ -39,18 +39,18 @@ task('shop:setShopsOffline', function() {
}
});
task('shop:migrate:failed', function() {
task('shop:runMigration:failed', function() {
invoke('shop:setShopsOnline');
})->hidden();
fail('shop:migrate', 'shop:migrate:failed');
fail('shop:runMigration', 'shop:runMigration:failed');
desc('execute OXID Doctrine migrations');
task('shop:executeMigrations', function () {
if (test("[ -f {{current_path}}/vendor/bin/oe-eshop-doctrine_migration ]")) {
run('{{bin/php}} {{current_path}}/vendor/bin/oe-eshop-doctrine_migration migrations:migrate');
}
});
})->hidden();;
desc('set shops online');
task('shop:setShopsOnline', function() {
@ -93,7 +93,7 @@ task('setup:createDbConfig', function () {
});
desc('show OXID shop version');
task('shop:version', function () {
task('shop:getVersion', function () {
if (test("[ -f {{current_path}}/composer.lock ]")) {
cd('{{current_path}}');
info(