hooks?
This commit is contained in:
@@ -84,7 +84,11 @@
|
||||
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
|
||||
"Illuminate\\Foundation\\ComposerScripts::postUpdate"
|
||||
],
|
||||
"post-install-cmd": [],
|
||||
"post-install-cmd": [
|
||||
"cp -r 'hooks/' '.git/hooks/'",
|
||||
"php -r \"copy('hooks/pre-commit', '.git/hooks/pre-commit');\"",
|
||||
"php -r \"chmod('.git/hooks/pre-commit', 0777);\""
|
||||
],
|
||||
"post-root-package-install": [
|
||||
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||
],
|
||||
|
Reference in New Issue
Block a user