Heroku composer [skip ci]

This commit is contained in:
James Cole
2017-12-15 11:18:14 +01:00
parent c3af8fefde
commit 009c5a438c

View File

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