mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Updated composer scripts
This commit is contained in:
parent
3fdf5dc5f7
commit
cfbf1945dd
@ -63,30 +63,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"pre-install-cmd": [
|
"post-root-package-install": [
|
||||||
"rm -f compiled.php config.php routes.php services.json"
|
"php -r \"copy('.env.example', '.env');\"",
|
||||||
|
"php artisan key:generate"
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"php artisan key:generate"
|
||||||
],
|
],
|
||||||
"post-install-cmd": [
|
"post-install-cmd": [
|
||||||
|
"php artisan clear-compiled",
|
||||||
"php artisan optimize --force",
|
"php artisan optimize --force",
|
||||||
"php artisan config:cache",
|
"php artisan config:cache",
|
||||||
"php artisan route:cache",
|
"php artisan route:cache",
|
||||||
"chmod -R 755 storage"
|
"chmod -R 755 storage"
|
||||||
],
|
],
|
||||||
"pre-update-cmd": [
|
"pre-update-cmd": [
|
||||||
"rm -f compiled.php config.php routes.php services.json"
|
"php artisan clear-compiled"
|
||||||
],
|
],
|
||||||
"post-update-cmd": [
|
"post-update-cmd": [
|
||||||
"php artisan optimize --force",
|
"php artisan optimize --force",
|
||||||
"php artisan config:cache",
|
"php artisan config:cache",
|
||||||
"php artisan route:cache",
|
"php artisan route:cache",
|
||||||
"chmod -R 755 storage"
|
"chmod -R 755 storage"
|
||||||
],
|
|
||||||
"post-create-project-cmd": [
|
|
||||||
"php -r \"copy('.env.example', '.env');\"",
|
|
||||||
"php artisan key:generate"
|
|
||||||
],
|
|
||||||
"test": [
|
|
||||||
"phpunit"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user