Showing
1 changed file
with
8 additions
and
0 deletions
| ... | @@ -47,6 +47,14 @@ | ... | @@ -47,6 +47,14 @@ |
| 47 | "post-create-project-cmd": [ | 47 | "post-create-project-cmd": [ |
| 48 | "php artisan key:generate" | 48 | "php artisan key:generate" |
| 49 | ], | 49 | ], |
| 50 | + "pre-update-cmd": [ | ||
| 51 | + "php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"", | ||
| 52 | + "php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\"" | ||
| 53 | + ], | ||
| 54 | + "pre-install-cmd": [ | ||
| 55 | + "php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"", | ||
| 56 | + "php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\"" | ||
| 57 | + ], | ||
| 50 | "post-install-cmd": [ | 58 | "post-install-cmd": [ |
| 51 | "Illuminate\\Foundation\\ComposerScripts::postInstall", | 59 | "Illuminate\\Foundation\\ComposerScripts::postInstall", |
| 52 | "php artisan optimize", | 60 | "php artisan optimize", | ... | ... |
-
Please register or sign in to post a comment