]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/dev.sh
Usage of composer.phar if it's found
[github/wallabag/wallabag.git] / scripts / dev.sh
index 9f5b2432bebb04eafef732d14ee0f54226384891..fa3b2d5d5de32509e2e4160fd7a8b64ad9407c7f 100644 (file)
@@ -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