Use current PHP version instead of using PATH

This commit is contained in:
Miguel Piedrafita 2017-05-25 14:56:28 +02:00 committed by GitHub
parent 11dfcf6d1a
commit 8379a92a14
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": {