Update composer for heroku [skip ci]

This commit is contained in:
James Cole
2017-12-15 11:14:07 +01:00
parent 76632f5bae
commit 1b116e3a1d

View File

@@ -98,7 +98,7 @@
}, },
"scripts": { "scripts": {
"pre-install-cmd": [ "pre-install-cmd": [
"export APP_KEY=7ahyYVPVsmxjdhsweWCauGeJfwc92NP2 && echo Temporary app key is $APP_KEY." "if DYNO -gt 0; then @php -r \"file_exists('.env') || copy('.env.heroku', '.env');\"; else echo Not in Heroku environment.; 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');\""
@@ -118,9 +118,6 @@
"post-install-cmd": [ "post-install-cmd": [
"php artisan optimize", "php artisan optimize",
"php artisan firefly:instructions install" "php artisan firefly:instructions install"
],
"compile": [
"@php -r \"file_exists('.env.heroku') || copy('.env.heroku', '.env');\""
] ]
}, },
"config": { "config": {