Skip to content

build.py: Print errors from running make - #2549

Merged
cjohnson57 merged 1 commit into
OoTRandomizer:Devfrom
flagrama:build-py-output-errors
Apr 4, 2026
Merged

build.py: Print errors from running make#2549
cjohnson57 merged 1 commit into
OoTRandomizer:Devfrom
flagrama:build-py-output-errors

Conversation

@flagrama

@flagrama flagrama commented Apr 4, 2026

Copy link
Copy Markdown

Output from make is not displayed when a build fails. This code will catch the exception, print the error, then exit with an error exit code matching the one make returned.

Testing

Several useful usages of it were done here while trying to help shiro get any n64 toolchain to work. Will help when development errors occur in the future too.
https://discord.com/channels/274180765816848384/512048482677424138/1489722040280678470

@cjohnson57 cjohnson57 added Type: Enhancement New feature or request Component: Misc A catch-all label labels Apr 4, 2026
@cjohnson57
cjohnson57 merged commit 0372a14 into OoTRandomizer:Dev Apr 4, 2026
6 checks passed
@cjohnson57 cjohnson57 added this to the next milestone Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Misc A catch-all label Type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants