From 8b9ffa013112bc48e809906b438d8fd366f74f32 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 14 Apr 2017 17:37:30 -0400 Subject: [PATCH] Revert composer setup removal --- composer.json | 11 +++++------ composer.lock | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index f926d08b0..d5590fe8f 100644 --- a/composer.json +++ b/composer.json @@ -62,12 +62,6 @@ "php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"", "php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\"" ], - "post-root-package-install": [ - "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" - ], - "post-create-project-cmd": [ - "php artisan key:generate" - ], "post-install-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postInstall", "php artisan optimize", @@ -77,6 +71,11 @@ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "php artisan optimize", "php artisan config:cache" + ], + "setup": [ + "composer install --no-dev", + "php -r \"file_exists('.env') || copy('.env.example', '.env');\"", + "php artisan key:generate" ] }, "prefer-stable": true, diff --git a/composer.lock b/composer.lock index 28857e6b2..581eb6477 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "4f465e3103cea2f1d5495e2c06ac1d58", + "hash": "df3cc5312acd808f26f5a6117de4506a", "content-hash": "071f2fce48f27388231da47a740ceb2a", "packages": [ {