1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 21:44:03 +00:00

Add composer script to copy .env.example to .env

This commit is contained in:
Samuel Štancl 2019-02-07 17:43:12 +01:00
parent 7355d9b98a
commit 576ec1cf02
2 changed files with 7 additions and 0 deletions

View file

@ -37,5 +37,10 @@
"Stancl\\Tenancy\\TenancyServiceProvider"
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
}