Sandbox for working with multiple packages. Used for dev only.
Few lines describing your project.
cd consumer
composer create-project --prefer-dist drevops/scaffold="@dev" --repository '{"type": "path", "url": "../scaffold", "options": {"symlink": false}}' t1
composer install
composer lint
composer test
Run once:
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
):
# 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
# 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