Skip to content

Cargo stderr only prints after stdout #7

@ebkalderon

Description

@ebkalderon

The current behavior of the execute_if!() macro in the amethyst_cli tool is to print out error text (unformatted) immediately before quitting the program. Though this is perfectly fine for most cases, this can make redirected Cargo output from amethyst new, amethyst build, amethyst run, etc. print out at the wrong times, and also lacking colorization.

A likely solution would be to make the Cargo stderr print out alongside the stdout using an approach similar to that used to resolve issue #1. We can then have execute_if!() print out any amethyst_cli specific errors, like compressing resources and the like.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions