X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=install_dev.sh;h=cbd47495391158f2625a2897b560e11532ab61d1;hb=b054bc27e6357002b4a7d1991cab7da239b927e0;hp=61a4f6fd46d725b34aa50adf1ee477a5ac8cfcb0;hpb=7d002c333d9e79c93e0e148163ebb59823cd1b8e;p=github%2Fwallabag%2Fwallabag.git diff --git a/install_dev.sh b/install_dev.sh index 61a4f6fd..cbd47495 100755 --- a/install_dev.sh +++ b/install_dev.sh @@ -1,13 +1,14 @@ #! /usr/bin/env bash -echo "Installing PHP dependencies (including dev) through Composer..." -composer install +echo " > Installing PHP dependencies (including dev) through Composer..." +composer install -o --no-interaction --no-progress --prefer-dist -echo "Downloading librairies through npm..." -npm install +if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then + echo " > Downloading librairies through npm..." + npm install -echo "Concat, minify and installing assets..." -grunt + echo " > Concat, minify and installing assets..." + grunt +fi -echo "Installing wallabag..." -php bin/console wallabag:install +echo " > Install finished"