Sublime Forum

Routing the build output to Growl display

#1

I am trying to write a plugin to route the output of my builds to the growl display. I was wondering if there is anyway in the API to read the output of the build?

The idea is when you run/build/F7 the following script

// sample.groovy
println "This is the output" 

then the output will be posted on the growl display. I know how to sent things to growl just dont know how to capture the build output in ST.

Reading the output and write it to growl notifier is what I thought is the solution, if anyone has any other suggestion on how to make growl show the result of a script that has run would be helpful.

Thanks
Alidad

0 Likes

#2

I started to attempt this a few weeks ago but haven’t gotten back to it.

Basically the build is using (by default) the exec.py script that’s in the "Default " package. My approach was going to be an alternate build system that wrapped what exec does, but adds a few other inputs and notifications. I don’t really have much python knowledge, nor do I have any working examples, otherwise I’d be happy to share.

Good luck, and I’m looking forward to seeing what you can do!

0 Likes