Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Referencing scripts in composer.json to avoid duplication #918

Closed
wants to merge 1 commit into from

Conversation

1ed
Copy link
Contributor

@1ed 1ed commented Dec 23, 2015

It's a new feature of composer (referencing-scripts) available as of 1.0.0-alpha11.

@Pierstoval
Copy link
Contributor

It forces users to update their composer installation, and even if composer itself sends warnings, I don't know if it's a best practice.
But anyway I really like this feature 👍

@xabbuh
Copy link
Member

xabbuh commented Dec 23, 2015

Given that it's included in a tagged release and that release is even more than a month old I am 👍 on this.

@wouterj
Copy link
Member

wouterj commented Dec 23, 2015

Please note that the Composer update warnings are no shown after 60 days instead of 30, maybe it's better to wait another month?

@xabbuh
Copy link
Member

xabbuh commented Dec 23, 2015

Oh did they exceed that value?

@1ed
Copy link
Contributor Author

1ed commented Jan 28, 2016

We already use config.platform from the same release as of d0e9308.

@Pierstoval
Copy link
Contributor

I think we can merge this now 👍

@fabpot
Copy link
Member

fabpot commented Jan 29, 2016

That's very different. If config.platform is not taken into account, that's no big deal. Here, if script references are not supported, hooks do not work anymore.

@fabpot
Copy link
Member

fabpot commented Aug 18, 2016

Thank you @1ed.

fabpot added a commit that referenced this pull request Aug 18, 2016
…(1ed)

This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #918).

Discussion
----------

Referencing scripts in composer.json to avoid duplication

It's a new feature of composer ([referencing-scripts](https://getcomposer.org/doc/articles/scripts.md#referencing-scripts)) available as of [1.0.0-alpha11](https://github.com/composer/composer/releases/tag/1.0.0-alpha11).

Commits
-------

4935d2c Referencing scripts to avoid duplication
@fabpot fabpot closed this Aug 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants