Home Download Buy Blog Forum Support

Routing the build output to Growl display

Routing the build output to Growl display

Postby alidad on Wed Feb 01, 2012 6:38 pm

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
Code: Select all
// 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.

Posts: 1
Joined: Wed Feb 01, 2012 5:54 pm

Re: Routing the build output to Growl display

Postby Grant on Wed Feb 01, 2012 7:42 pm

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!
Posts: 69
Joined: Fri Jan 20, 2012 2:42 pm

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], jjgod, Yahoo [Bot] and 19 guests