I'm experiencing something odd with Envoy, and I don't where I'm going wrong. It seems to ignore some bash commands unless there is an "echo" statement before it.
So I have this:
@task('composer')
cd {{ $release }}
composer install --prefer-dist
@endtask
But composer never gets run. If I change the above to
@task('composer')
cd {{ $release }}
echo ""
composer install --prefer-dist
@endtask
Then it works fine. I'm using a macro which runs 7 tasks. I've done a few searches and can't seem to find anyone else with the same problem. Was hoping someone knows whats going on.
Same issues to me. I ran with --pretend and I see no carriage return at the end of line. try:
envoy run composer --pretend
Otherwise if you insert extra empty lines that will do the trick for you
@task('composer')
cd {{ $release }}
composer install --prefer-dist
@endtask
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community