Created
July 26, 2010 02:23
-
-
Save tatey/490101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'growl' | |
module Jekyll | |
class GrowlGenerator < Generator | |
safe false | |
def generate(site) | |
Growl.notify 'Building...', :title => 'Jekyll' | |
end | |
end | |
class Site | |
alias jekyll_process process | |
def process | |
jekyll_process | |
Growl.notify 'Build complete', :title => 'Jekyll' | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment