From c4d9a8d6d0db2be5c502e257bbeb963e3870d521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 27 Oct 2016 10:09:43 +0200 Subject: Usage of composer.phar if it's found --- scripts/dev.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/dev.sh') diff --git a/scripts/dev.sh b/scripts/dev.sh index 9f5b2432..fa3b2d5d 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -2,10 +2,12 @@ # You can execute this file to install wallabag dev environment # eg: `sh dev.sh` +COMPOSER_COMMAND='composer' + DIR="${BASH_SOURCE%/*}" if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi . "$DIR/require.sh" -composer install +$COMPOSER_COMMAND install php bin/console wallabag:install php bin/console server:run -- cgit v1.2.3