mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Updated composer scripts
This commit is contained in:
parent
3fdf5dc5f7
commit
cfbf1945dd
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user