mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-03 05:49:22 +00:00
16 lines
474 B
Bash
Executable file
16 lines
474 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
if [[ $ASSETS == 'build' ]]; then
|
|
echo "Installing PHP dependencies through Composer..."
|
|
composer update --no-interaction --no-progress
|
|
|
|
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 update --no-interaction --no-progress
|
|
fi
|