Adding before build hook
This commit is contained in:
parent
3b3ed654b7
commit
8d346e74a5
3 changed files with 19 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue