X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=install_dev.sh;h=cbd47495391158f2625a2897b560e11532ab61d1;hb=aafb3321b75976bd4614d5c033df175853f0cbb0;hp=81f871daf86ff24bd9f69cb407b3cdf8deaa38be;hpb=637aa17e6b52dd8021854a809053560a27caca72;p=github%2Fwallabag%2Fwallabag.git diff --git a/install_dev.sh b/install_dev.sh index 81f871da..cbd47495 100755 --- a/install_dev.sh +++ b/install_dev.sh @@ -1,16 +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 javascript librairies through npm..." -npm install +if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then + echo " > Downloading librairies through npm..." + npm install -echo "Downloading fonts librairies through bower..." -bower install + echo " > Concat, minify and installing assets..." + grunt +fi -echo "Concat, minify and installing assets..." -grunt - -echo "Installing wallabag..." -php bin/console wallabag:install +echo " > Install finished"