mirror of
https://github.com/jbcr/core.git
synced 2026-03-25 09:22:19 +01:00
18 lines
574 B
PHP
18 lines
574 B
PHP
<?php
|
|
|
|
namespace Bolt\ComposerScripts;
|
|
|
|
class PostUpdateScript extends Script
|
|
{
|
|
public static function execute(): void
|
|
{
|
|
parent::init('Running composer "post-update-cmd" scripts');
|
|
|
|
self::run('php bin/console extensions:configure --with-config --ansi');
|
|
self::run('php bin/console cache:clear --no-warmup --ansi');
|
|
self::run('php bin/console assets:install --symlink --relative public --ansi');
|
|
self::run('php bin/console doctrine:migrations:up-to-date --ansi');
|
|
self::run('php bin/console bolt:info --ansi');
|
|
}
|
|
}
|