[TxMt] Autotest in TM window
Alexander Ross
alex.j.ross at gmail.com
Sat Jan 20 19:59:01 UTC 2007
Alain,
You don't need to tail the console.log file to get the autotest
output. Any string that you pass to UserCommand will be executed in
the shell by CommandMate, and the output will be printed to the
webpreview window. This ought to do it: http://pastie.textmate.org/
34483.
– Alex
On Jan 20, 2007, at 9:06 AM, Alain Ravet wrote:
> Alex
>
> I'm 2 steps further, but I still have a problem.
>
>
> > The latest version of $TM_SUPPORT_PATH/lib/scriptmate.rb is
> available
> > from TextMate's svn repository.
>
> OK. I installed it through the GetBundle bundle. A no-brainer.
>
>
> > Once you've got the latest version of TextMate's Bundles and Support
> > path, you'll be able to use the example command[1] I mentioned
> before
> > (or modify it to your purposes).
>
> With your original command, I get a "permission denied" on the
> _console.log_ file access
> => I added "sudo" in front of the "tail" to solve that problem
> => now, when I launch your command, I see a TM window with the file
> contents. That's OK.
>
>
> Remaining problem: how do I launch/get "autotest" to dump its contents
> in the console.log file? (as a simple "autotest > somefile.log"
> doesn't do it)
>
> Alain
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list