Skip to content

Commit a6e0a2d

Browse files
Backport the composer script fixes
1 parent 2dd40df commit a6e0a2d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
]
2929
},
3030
"scripts": {
31-
"post-install-cmd": [
32-
"php artisan clear-compiled",
33-
"php artisan optimize"
34-
],
35-
"post-update-cmd": [
36-
"php artisan clear-compiled",
37-
"php artisan optimize"
38-
],
3931
"post-root-package-install": [
4032
"php -r \"copy('.env.example', '.env');\""
4133
],
4234
"post-create-project-cmd": [
4335
"php artisan key:generate"
36+
],
37+
"post-install-cmd": [
38+
"Illuminate\\Foundation\\ComposerScripts::postInstall",
39+
"php artisan optimize"
40+
],
41+
"post-update-cmd": [
42+
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
43+
"php artisan optimize"
4444
]
4545
},
4646
"config": {

0 commit comments

Comments
 (0)