Merge pull request #4278 from m1guelpf/patch-2

Use current PHP version instead of using PATH
This commit is contained in:
Taylor Otwell 2017-05-25 08:00:09 -05:00 committed by GitHub
commit 640293f297
1 changed files with 4 additions and 4 deletions

View File

@ -30,18 +30,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": {