Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove post-create-project-cmd #1352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lpalgarvio
Copy link

@lpalgarvio lpalgarvio commented Jun 9, 2020

running vendor/akeneo/pim-community-dev/std-build/install-required-files.sh on post-create-project-cmd will break composer create-project --no-install.

https://getcomposer.org/doc/03-cli.md#create-project

running scripts with create-project should only occur if they are already present with the composer.json files main project, without dependencies.

this patch will allow for:

  1. composer create-project & later composer update
  2. composer create-project --no-install & later composer install & later composer update

CI might need changes, but docs otherwise should not need changes because create-project by default does install.

running vendor/akeneo/pim-community-dev/std-build/install-required-files.sh on post-create-project-cmd will break composer create-project --no-install. running scripts with create-project should only occur if they are already present with the composer.json files main project, without dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant