diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-03 14:33:05 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-03 14:35:42 +0200 |
commit | 4ac780eb21f1cceeca34e698e6865d49ec7d3ee8 (patch) | |
tree | ad8b7da6eff922d5842de99f79fb3532c9b72be6 /install.sh | |
parent | 8fdb5e5766a6bf5970f268200a6c21fd39693637 (diff) | |
download | wallabag-4ac780eb21f1cceeca34e698e6865d49ec7d3ee8.tar.gz wallabag-4ac780eb21f1cceeca34e698e6865d49ec7d3ee8.tar.zst wallabag-4ac780eb21f1cceeca34e698e6865d49ec7d3ee8.zip |
Use install_dev.sh for Travis
Add `--no-dev` to `composer install` for prod env
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -1,15 +1,13 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | 2 | ||
3 | if [[ $ASSETS == 'build' ]]; then | 3 | echo " > Installing PHP dependencies through Composer..." |
4 | echo "Installing PHP dependencies through Composer..." | 4 | composer install --no-interaction --no-progress --prefer-dist -o --no-dev |
5 | composer install --no-interaction --no-progress --prefer-dist -o | 5 | |
6 | 6 | chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm | |
7 | chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm | 7 | echo " > Downloading librairies through npm..." |
8 | echo "Downloading librairies through npm..." | 8 | vendor/mouf/nodejs-installer/bin/local/npm install |
9 | vendor/mouf/nodejs-installer/bin/local/npm install | 9 | |
10 | 10 | echo " > Concat, minify and installing assets..." | |
11 | echo "Concat, minify and installing assets..." | 11 | node_modules/grunt/bin/grunt |
12 | node_modules/grunt/bin/grunt | 12 | |
13 | else | 13 | echo " > Install finished" |
14 | composer install --no-interaction --no-progress --prefer-dist -o | ||
15 | fi | ||