Use --global
when allowing Composer plugins for CORE
this keeps allowances out of the local `composer.json` file and therefore keeps the working folder clean
This commit is contained in:
parent
20a3871522
commit
2097136844
|
@ -63,11 +63,11 @@ def install_corepos(c, rootdir, rooturl_office, production=True,
|
||||||
|
|
||||||
# composer install
|
# composer install
|
||||||
# TODO: these 'allow' entries are needed for composer 2.4 at least...
|
# TODO: these 'allow' entries are needed for composer 2.4 at least...
|
||||||
c.sudo("bash -c 'cd {} && {} config --no-plugins allow-plugins.composer/installers true'".format(is4c, composer),
|
c.sudo("bash -c 'cd {} && {} config --global --no-plugins allow-plugins.composer/installers true'".format(is4c, composer),
|
||||||
user=user)
|
user=user)
|
||||||
c.sudo("bash -c 'cd {} && {} config --no-plugins allow-plugins.oomphinc/composer-installers-extender true'".format(is4c, composer),
|
c.sudo("bash -c 'cd {} && {} config --global --no-plugins allow-plugins.oomphinc/composer-installers-extender true'".format(is4c, composer),
|
||||||
user=user)
|
user=user)
|
||||||
c.sudo("bash -c 'cd {} && {} config --no-plugins allow-plugins.corepos/composer-installer true'".format(is4c, composer),
|
c.sudo("bash -c 'cd {} && {} config --global --no-plugins allow-plugins.corepos/composer-installer true'".format(is4c, composer),
|
||||||
user=user)
|
user=user)
|
||||||
c.sudo("bash -c 'cd {} && {} install'".format(is4c, composer),
|
c.sudo("bash -c 'cd {} && {} install'".format(is4c, composer),
|
||||||
user=user)
|
user=user)
|
||||||
|
|
Loading…
Reference in a new issue