Merge pull request #4126 from timgws/patch-1

Append '@' to let composer resolve PHP executable
This commit is contained in:
Taylor Otwell 2017-01-30 07:46:35 -06:00 committed by GitHub
commit d0c5c041f2
1 changed files with 4 additions and 4 deletions

View File

@ -29,18 +29,18 @@
}, },
"scripts": { "scripts": {
"post-root-package-install": [ "post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"" "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
], ],
"post-create-project-cmd": [ "post-create-project-cmd": [
"php artisan key:generate" "@php artisan key:generate"
], ],
"post-install-cmd": [ "post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall", "Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize" "@php artisan optimize"
], ],
"post-update-cmd": [ "post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate", "Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize" "@php artisan optimize"
] ]
}, },
"config": { "config": {