Last active
August 15, 2020 07:26
-
-
Save yuseferi/939acf2687fae5dcd68c0d1ea4725d0b to your computer and use it in GitHub Desktop.
drupal old fashion module to composer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in root of your project | |
for i in $(find web/modules -maxdepth 1 -type d); do COMPOSER_MEMORY_LIMIT=-1 composer req drupal/$(basename $i); done | |
for i in $(find web/theme -maxdepth 1 -type d); do COMPOSER_MEMORY_LIMIT=-1 composer req drupal/$(basename $i); done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment