[TxMt] Re: How to clear flashlog.txt on compile?

warek silber at monoid.net
Mon Mar 23 10:28:39 UTC 2009




Simon Gregory wrote:
> 
>>> I'm just wondering if there's a way I can clear flashlog.txt  
>>> everytime I compile so I don't have to keep doing this manually?
> 
> 
> I'd imagine this would completely empty the log (untested) :
> 
> echo "" > "$TM_FLASH_LOG"
> 
> see the command 'Open Flash Log in Console' for an example of how to  
> set TM_FLASH_LOG.
> 
>> Simon, could we have a line of code that'll rewrite the flash log,  
>> commented out by default? Then we could un-comment it if we prefer  
>> that functionality.
> 
> Would adding it to 'Run' would be preferable to 'Build' ?
> 
> Cheers,
> Simon
> 
> 
> Could someone please tell me where I have to put 	echo "" >
> "$TM_FLASH_LOG"    to clear the flashlog each time I 'Run' my code? I
> tried to put it in the Run-and Build-commands without success.
> 
> Cheers
> -Marek
> 
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-clear-flashlog.txt-on-compile--tp17667078p22657477.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list