Skip to content

Commit 8b9ffa0

Browse files
committed
Revert composer setup removal
1 parent 9c3c1f8 commit 8b9ffa0

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@
6262
"php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
6363
"php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
6464
],
65-
"post-root-package-install": [
66-
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
67-
],
68-
"post-create-project-cmd": [
69-
"php artisan key:generate"
70-
],
7165
"post-install-cmd": [
7266
"Illuminate\\Foundation\\ComposerScripts::postInstall",
7367
"php artisan optimize",
@@ -77,6 +71,11 @@
7771
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
7872
"php artisan optimize",
7973
"php artisan config:cache"
74+
],
75+
"setup": [
76+
"composer install --no-dev",
77+
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
78+
"php artisan key:generate"
8079
]
8180
},
8281
"prefer-stable": true,

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)