tractical/wordsmith — pull request #9 by auser (2014-01-05 10:32:51+00:00)
Title: Added callbacks on generate

I added a method to run callbacks both before and after generation of each individual type of generated file as well as before all are run.

The syntax is specifying the command in the config file. For instance:

before_all: cp -Rf source/* content/
before_pdf: scripts/strip_demo.rb
after_all: echo "DONE"