bin/setup.sh - Skip 'composer install' on D8
authorTim Otten <totten@civicrm.org>
Thu, 16 Jan 2020 01:38:50 +0000 (17:38 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 28 Jan 2020 22:57:11 +0000 (14:57 -0800)
bin/setup.sh

index 2badb46673d68eafbc7d647b88bf289a0f51e82c..cabd301038f16077ae10b514b0d4d3b1b955e7af 100755 (executable)
@@ -141,8 +141,10 @@ set -x
 
 if [ -n "$DO_DOWNLOAD" ]; then
   pushd "$CALLEDPATH/.."
-    COMPOSER=$(pickcmd composer composer.phar)
-    $COMPOSER install
+    if [ "$GENCODE_CMS" != "Drupal8" ]; then
+      COMPOSER=$(pickcmd composer composer.phar)
+      $COMPOSER install
+    fi
 
     if has_commands karma ; then
       ## dev dependencies have been installed globally; don't force developer to redownload