mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 18:59:35 +01:00
16 lines
510 B
Bash
Executable File
16 lines
510 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 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
|