Merge pull request #1283 from cachethq/script

Updated scripts
This commit is contained in:
Graham Campbell
2015-12-24 15:59:56 +00:00
2 changed files with 9 additions and 11 deletions

View File

@@ -63,30 +63,28 @@
}
},
"scripts": {
"pre-install-cmd": [
"rm -f compiled.php config.php routes.php services.json"
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize --force",
"php artisan config:cache",
"php artisan route:cache",
"chmod -R 755 storage"
],
"pre-update-cmd": [
"rm -f compiled.php config.php routes.php services.json"
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize --force",
"php artisan config:cache",
"php artisan route:cache",
"chmod -R 755 storage"
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
],
"test": [
"phpunit"
]
},
"config": {

2
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "2af403fbb9568e4db94c2d9eb8b00e6f",
"hash": "074c92f778d666fd209d97753839fbe2",
"content-hash": "8a51b88ff61aa51581943bbf535a48d1",
"packages": [
{