mako-stat
v1.0.1
Published
A mako plugin that adds a preread hook for stat-ing a file
Readme
mako-stat
A plugin for checking a file's stat.
Purpose
- a way to fail fast by checking a file's existence before any other plugins
- populates
file.statfor later plugins to consume - marks a file as dirty when the
mtimechanges between builds
API
stat(extensions)
The extensions argument can be passed as either a single String or an Array of extensions.
(without the leading dot)
