mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
4ac780eb21
Add `--no-dev` to `composer install` for prod env
14 lines
388 B
Bash
Executable file
14 lines
388 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
echo " > Installing PHP dependencies (including dev) through Composer..."
|
|
composer install -o --no-interaction --no-progress --prefer-dist
|
|
|
|
if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then
|
|
echo " > Downloading librairies through npm..."
|
|
npm install
|
|
|
|
echo " > Concat, minify and installing assets..."
|
|
grunt
|
|
fi
|
|
|
|
echo " > Install finished"
|