Adding before build hook

This commit is contained in:
Jonathan Soeder 2014-02-04 23:03:24 -06:00
parent 3b3ed654b7
commit 8d346e74a5
3 changed files with 19 additions and 0 deletions

View file

@ -40,6 +40,9 @@ module Middleman
# Ready (all loading and parsing of extensions complete) hook
define_hook :ready
# Runs before the build is started
define_hook :before_build
# Runs after the build is finished
define_hook :after_build