Hi there,
is there any way of making RakeMate not htmlize rake's output?
I have a rake task that outputs compilation errors, and would like to make them clickable so the user can open the offending file, but the HTML I generate is escaped, so it's not useful.
Any ideas/suggestions/recommendations?
On Mar 3, 2008, at 4:01 AM, Ale Muñoz wrote:
is there any way of making RakeMate not htmlize rake's output?
There's not currently a way to do this, no.
I recommend just wrapping your Rake task with a custom command. If you would prefer to add the feature to RakeMate though, feel free to send me a patch.
James Edward Gray II
On 03/03/2008, at 11:57 PM, James Gray wrote:
There's not currently a way to do this, no.
I recommend just wrapping your Rake task with a custom command. If you would prefer to add the feature to RakeMate though, feel free to send me a patch.
Maybe just use an env var?
Maybe this should be a feature of scriptmate as well (which RakeMate didn't use last time I checked).
TM_SCRIPTMATE_FILTER_OUTPUT=0
Where the env vars absence is treated as 1.
LD.
On 4 Mar 2008, at 00:07, Luke Daley wrote:
On 03/03/2008, at 11:57 PM, James Gray wrote:
There's not currently a way to do this, no.
I recommend just wrapping your Rake task with a custom command. If you would prefer to add the feature to RakeMate though, feel free to send me a patch.
Maybe just use an env var?
Or open a pipe for which the data is shown “raw” in the output window (by ScriptMate etc.) and set the fd for this pipe in the process launched (similar to how we presently do for the stack trace).
Advantage over the environment variable is that it does not need to be all or nothing.