From 67c3d64275ba4e83dcdb0915f68af9c28f009489 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sun, 26 Apr 2015 18:13:53 -0600 Subject: [PATCH] optimize composer --- bin/gpm | 2 +- bin/grav | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/gpm b/bin/gpm index 26305d3fa..a19fea5d1 100755 --- a/bin/gpm +++ b/bin/gpm @@ -9,7 +9,7 @@ if (version_compare($ver = PHP_VERSION, $req = '5.4.0', '<')) { if (!file_exists(__DIR__ . '/../vendor')){ // Before we can even start, we need to run composer first echo "Preparing to install vendor dependencies...\n\n"; - echo system('php bin/composer.phar --working-dir="'.__DIR__.'/../" --no-interaction install'); + echo system('php bin/composer.phar --working-dir="'.__DIR__.'/../" --no-interaction --no-dev --prefer-dist -o install'); echo "\n\n"; } diff --git a/bin/grav b/bin/grav index 2d412dd36..1d31dd687 100755 --- a/bin/grav +++ b/bin/grav @@ -9,7 +9,7 @@ if (version_compare($ver = PHP_VERSION, $req = '5.4.0', '<')) { if (!file_exists(__DIR__ . '/../vendor')){ // Before we can even start, we need to run composer first echo "Preparing to install vendor dependencies...\n\n"; - echo system('php bin/composer.phar --working-dir="'.__DIR__.'/../" --no-interaction --no-dev --prefer-dist install'); + echo system('php bin/composer.phar --working-dir="'.__DIR__.'/../" --no-interaction --no-dev --prefer-dist -o install'); echo "\n\n"; }