[TxMt] event commands

Dominique Peretti dperetti at lachoseinteractive.com
Fri Dec 3 15:24:50 UTC 2004


Take a look at this :
http://michael-mccracken.net/blog/blosxom.pl/computers/mac/programming/ 
meetWatch.html

On 3 déc. 04, at 16:00, Jan Sabbe wrote:

> I would like to be able to automatically run a script, when a certain  
> event happens (such as, a file save), depending on the file-extension  
> (and maybe also depending on the project).
>
> For example, what I really like to do:
> If I save a file that ends in .rb, I want to automatically run a  
> command that does a "ruby $TM_PROJECT_DIR/test/unittests.rb". If it  
> fails, it could send me a notification through growl  
> (http://growl.info)
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>
Dominique PERETTI
http://www.lachoseinteractive.net




More information about the textmate mailing list