mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
04d5c60216
Since $ASSETS can be empty now and only be “build”.
18 lines
620 B
Bash
Executable file
18 lines
620 B
Bash
Executable file
#! /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 javascript librairies through npm..."
|
|
vendor/mouf/nodejs-installer/bin/local/npm install
|
|
|
|
echo "Downloading fonts librairies through bower..."
|
|
node_modules/bower/bin/bower install
|
|
|
|
echo "Concat, minify and installing assets..."
|
|
node_modules/grunt/bin/grunt
|
|
else
|
|
composer install --no-interaction --no-progress --prefer-dist -o
|
|
fi
|