labzero / bootleg_phoenix

Provides Phoenix-specific Bootleg tasks.
MIT License
23 stars 7 forks source link

Raise errors when building assets #5

Closed rjanja closed 6 years ago

rjanja commented 6 years ago

Errors are currently ignored when building assets, so build output is unreliable. The task's commands included bash tests which return success even if the needed binaries aren't available. Those bash tests were originally used because Bootleg was deploying non-Phoenix applications.

A failure of a necessary Phoenix asset build step should result in an error that bubbles up to the end-user. This may be handled more elegantly in the future but for now we can assume a standard Phoenix installation.