Feature: Updating all boboko packages on dev environment

This commit is contained in:
2026-07-09 00:47:42 +03:00
parent ff9659e5c3
commit 1ecbbc4a42
+8
View File
@@ -8,6 +8,14 @@ if [ "$APP_ENV" != "production" ] && [ ! -f vendor/autoload.php ]; then
composer install --no-interaction --prefer-dist composer install --no-interaction --prefer-dist
fi fi
# In development, re-resolve all boboko/* packages against their local path-repo
# checkouts on every boot, so editing boboko-core and running `./bin/dc-core.sh up`
# is enough. No-op unless the path repo in `_repositories` has been enabled.
if [ "$APP_ENV" != "production" ] && [ -d /var/www/boboko-core ]; then
echo "[entrypoint] Re-resolving boboko/* packages from local path repos..."
composer update "boboko/*" --no-interaction --with-all-dependencies
fi
# In development, the app dir is bind-mounted from a fresh checkout, so package # In development, the app dir is bind-mounted from a fresh checkout, so package
# assets (which the Dockerfile publishes at build time in production) need to be # assets (which the Dockerfile publishes at build time in production) need to be
# generated here instead. Cheap and idempotent, safe to repeat on every boot. # generated here instead. Cheap and idempotent, safe to repeat on every boot.