Heroku composer [skip ci]

This commit is contained in:
James Cole
2017-12-15 11:19:51 +01:00
parent 009c5a438c
commit 3d0ecaa8d2

View File

@@ -98,7 +98,7 @@
}, },
"scripts": { "scripts": {
"pre-install-cmd": [ "pre-install-cmd": [
"if [ -z ${DYNO+x} ]; then echo Not in Heroku environment.; else @php -r \"file_exists('.env') || copy('.env.heroku', '.env');\"; fi" "if [ -z ${DYNO+x} ]; then echo Not in Heroku environment.; else php -r \"file_exists('.env') || copy('.env.heroku', '.env');\"; fi"
], ],
"post-root-package-install": [ "post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""