[TxMt] RubyCocoa Bundle - Sending application's output to HTML

Benjamin Jackson ben at incomumdesign.com
Thu May 31 03:55:10 UTC 2007


Hey all,

I'm currently working on the beginnings of of RubyCocoa Bundle, and  
trying to do something similar to the "Build and Run" script from the  
XCode Bundle:

#!/bin/sh
echo "<html><body>"
cd $TM_PROJECT_DIRECTORY && rake
MyApp.app/Contents/MacOS/MyApp
echo "</body></html>"

I've gotten to the point where I can run MyApp.app/Contents/MacOS/ 
MyApp and get the output, but only after the program has terminated.  
I know there's some way to get my traces to output while I'm running  
the program, but not sure how. Any pointers? Thanks,

Ben



More information about the textmate mailing list