From a6e0a2d190e1f219069f80434248658a5a0f79fa Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Tue, 5 Apr 2016 11:23:29 +0100 Subject: [PATCH] Backport the composer script fixes --- composer.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0bd256f1..2b8950d8 100644 --- a/composer.json +++ b/composer.json @@ -28,19 +28,19 @@ ] }, "scripts": { - "post-install-cmd": [ - "php artisan clear-compiled", - "php artisan optimize" - ], - "post-update-cmd": [ - "php artisan clear-compiled", - "php artisan optimize" - ], "post-root-package-install": [ "php -r \"copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "php artisan key:generate" + ], + "post-install-cmd": [ + "Illuminate\\Foundation\\ComposerScripts::postInstall", + "php artisan optimize" + ], + "post-update-cmd": [ + "Illuminate\\Foundation\\ComposerScripts::postUpdate", + "php artisan optimize" ] }, "config": {