X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=install.sh;h=87d53bf09e7f3b4a822c7492cf75c6ce06c62704;hb=24add95e9eaa1211655aff6d3d06c30e94252bcc;hp=29b343b2954ab66135db427124eff3033e15cc31;hpb=7d002c333d9e79c93e0e148163ebb59823cd1b8e;p=github%2Fwallabag%2Fwallabag.git diff --git a/install.sh b/install.sh index 29b343b2..87d53bf0 100755 --- a/install.sh +++ b/install.sh @@ -1,15 +1,13 @@ #! /usr/bin/env bash -if [[ $ASSETS == 'build' ]]; then - echo "Installing PHP dependencies through Composer..." - composer install --no-interaction --no-progress --prefer-dist -o - - chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm - echo "Downloading librairies through npm..." - vendor/mouf/nodejs-installer/bin/local/npm install - - echo "Concat, minify and installing assets..." - node_modules/grunt/bin/grunt -else - composer install --no-interaction --no-progress --prefer-dist -o -fi +echo " > Installing PHP dependencies through Composer..." +composer install --no-interaction --no-progress --prefer-dist -o --no-dev + +chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm +echo " > Downloading librairies through npm..." +vendor/mouf/nodejs-installer/bin/local/npm install + +echo " > Concat, minify and installing assets..." +node_modules/grunt/bin/grunt + +echo " > Install finished"