mxcl/homebrew — Issue #10726: Store build output in a file rather than a string
Author: mxcl
Created: 2012-03-06 21:30:37+00:00
State: open

We currently build a very long string to store output from builds. I dread to think how much memory this uses, and probably, it's slow after the string gets large enough.

We should instead redirect the output to files. This has the bonus that everything is already logged if the build fails.

We can then only show the last x lines of output to the terminal rather than dumping huge amounts of text. Maybe.