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_dev.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_dev.sh')
-rwxr-xr-x | install_dev.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/install_dev.sh b/install_dev.sh index 61a4f6fd..cbd47495 100755 --- a/install_dev.sh +++ b/install_dev.sh | |||
@@ -1,13 +1,14 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | 2 | ||
3 | echo "Installing PHP dependencies (including dev) through Composer..." | 3 | echo " > Installing PHP dependencies (including dev) through Composer..." |
4 | composer install | 4 | composer install -o --no-interaction --no-progress --prefer-dist |
5 | 5 | ||
6 | echo "Downloading librairies through npm..." | 6 | if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then |
7 | npm install | 7 | echo " > Downloading librairies through npm..." |
8 | npm install | ||
8 | 9 | ||
9 | echo "Concat, minify and installing assets..." | 10 | echo " > Concat, minify and installing assets..." |
10 | grunt | 11 | grunt |
12 | fi | ||
11 | 13 | ||
12 | echo "Installing wallabag..." | 14 | echo " > Install finished" |
13 | php bin/console wallabag:install | ||