diff --git a/README.md b/README.md index 84bb280..c77e3ce 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,37 @@ cd consumer composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' t1 ``` -## Maintenance +## Maintenance composer install composer lint composer test +### Debugging + +Run once: +```bash +cd scaffold +composer install + +export COMPOSER_ALLOW_XDEBUG=1 +export COMPOSER_DEBUG_EVENTS=1 +export DREVOPS_SCAFFOLD_VERSION=@dev +cd ../consumer +``` + +Run as needed (from `consumer`): +```bash +# No-install +rm -Rf t1 >/dev/null && php ../scaffold/vendor/composer/composer/bin/composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' --no-install t1 +``` + +or + +```bash +# Full +rm -Rf t1 >/dev/null && php ../scaffold/vendor/composer/composer/bin/composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' t1 +```