]> git.immae.eu Git - github/wallabag/wallabag.git/blob - install.sh
Merge pull request #2334 from wallabag/prepare-21
[github/wallabag/wallabag.git] / install.sh
1 #! /usr/bin/env bash
2
3 if [[ $ASSETS == 'build' ]]; then
4 echo "Installing PHP dependencies through Composer..."
5 composer install --no-interaction --no-progress --prefer-dist -o
6
7 chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
8 echo "Downloading librairies through npm..."
9 vendor/mouf/nodejs-installer/bin/local/npm install
10
11 echo "Concat, minify and installing assets..."
12 node_modules/grunt/bin/grunt
13 else
14 composer install --no-interaction --no-progress --prefer-dist -o
15 fi