mirror of
https://github.com/jbcr/core.git
synced 2026-04-25 17:48:07 +02:00
Ensure installation of Bolt Assets on composer update
This commit is contained in:
@@ -11,9 +11,10 @@ class PostUpdateScript extends Script
|
||||
parent::init('Running composer "post-update-cmd" scripts');
|
||||
|
||||
self::run('php vendor/bobdenotter/yaml-migrations/bin/yaml-migrate process -c vendor/bolt/core/yaml-migrations/config.yaml -v');
|
||||
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 bolt:copy-assets --ansi');
|
||||
self::run('php bin/console extensions:configure --with-config --ansi');
|
||||
|
||||
// Only run, if the tables are initialised already, _and_ Doctrine thinks we need to
|
||||
$migrationError = ! self::run('php bin/console bolt:info --tablesInitialised') &&
|
||||
|
||||
Reference in New Issue
Block a user