Skip to content

Commit

Permalink
Update Pimcore Recipe for version 11 (#3885)
Browse files Browse the repository at this point in the history
* recipe/pimcore: remove pimcore:deployment:custom-layouts-rebuild

command was removed in Pimcore 11

* recipe/pimcore: remove pimcore:deployment:custom-layouts-rebuild
  • Loading branch information
hitsoul11 authored Sep 5, 2024
1 parent db843bc commit 1c05f69
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions recipe/pimcore.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@
run('{{bin/console}} pimcore:deployment:classes-rebuild --create-classes --delete-classes --no-interaction');
});

desc('Creates Custom Layouts');
task('pimcore:custom-layouts-rebuild', function () {
run('{{bin/console}} pimcore:deployment:custom-layouts-rebuild --create-custom-layouts --delete-custom-layouts --no-interaction');
});

desc('Removes cache');
task('pimcore:cache_clear', function () {
run('rm -rf {{release_or_current_path}}/var/cache/dev/*');
});

task('pimcore:deploy', [
'pimcore:rebuild-classes',
'pimcore:custom-layouts-rebuild',
'pimcore:cache_clear'
]);

Expand Down

0 comments on commit 1c05f69

Please sign in to comment.