]> git.immae.eu Git - github/wallabag/wallabag.git/blame - install.sh
Fixed review
[github/wallabag/wallabag.git] / install.sh
CommitLineData
5ecdfcd0
TC
1#! /usr/bin/env bash
2
04d5c602 3if [[ $ASSETS == 'build' ]]; then
5ecdfcd0 4 echo "Installing PHP dependencies through Composer..."
04d5c602 5 composer install --no-interaction --no-progress --prefer-dist -o
5ecdfcd0
TC
6
7 chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
8 echo "Downloading javascript librairies through npm..."
9 vendor/mouf/nodejs-installer/bin/local/npm install
10
11 echo "Downloading fonts librairies through bower..."
12 node_modules/bower/bin/bower install
13
14 echo "Concat, minify and installing assets..."
15 node_modules/grunt/bin/grunt
04d5c602
JB
16else
17 composer install --no-interaction --no-progress --prefer-dist -o
5ecdfcd0 18fi