aboutsummaryrefslogtreecommitdiffhomepage
path: root/install_dev.sh
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-03 14:33:05 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-03 14:35:42 +0200
commit4ac780eb21f1cceeca34e698e6865d49ec7d3ee8 (patch)
treead8b7da6eff922d5842de99f79fb3532c9b72be6 /install_dev.sh
parent8fdb5e5766a6bf5970f268200a6c21fd39693637 (diff)
downloadwallabag-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-xinstall_dev.sh17
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
3echo "Installing PHP dependencies (including dev) through Composer..." 3echo " > Installing PHP dependencies (including dev) through Composer..."
4composer install 4composer install -o --no-interaction --no-progress --prefer-dist
5 5
6echo "Downloading librairies through npm..." 6if [[ $ASSETS == 'build' || $TRAVIS_BUILD_DIR == '' ]]; then
7npm install 7 echo " > Downloading librairies through npm..."
8 npm install
8 9
9echo "Concat, minify and installing assets..." 10 echo " > Concat, minify and installing assets..."
10grunt 11 grunt
12fi
11 13
12echo "Installing wallabag..." 14echo " > Install finished"
13php bin/console wallabag:install