Skip to content
Snippets Groups Projects
Commit bc8a9eaf authored by jurgenhaas's avatar jurgenhaas
Browse files

Globally require mglaman/composer-drupal-lenient before running any composer...

Globally require mglaman/composer-drupal-lenient before running any composer command, if the current project depends on it
parent 88965b36
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,9 @@ stages:
- if [[ "$IGNORE_COMPOSER_ABANDONED_AUDIT" == "0" ]]; then composer config --no-plugins --no-interaction audit.abandoned fail; fi
# Composer audit should only report found abandonded packages
- if [[ "$IGNORE_COMPOSER_ABANDONED_AUDIT" == "1" ]]; then composer config --no-plugins --no-interaction audit.abandoned report; fi
# Check if lenient project is required
- LENIENT=$(jq '.config."allow-plugins"."mglaman/composer-drupal-lenient"' composer.json)
- if [[ "$LENIENT" == "true" ]]; then composer global config --no-plugins allow-plugins.mglaman/composer-drupal-lenient true; composer global require mglaman/composer-drupal-lenient; fi
.customreferences:
LanguageFiles: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment