etc/power_stencil.yaml in power_stencil-0.8.14 vs etc/power_stencil.yaml in power_stencil-0.9.0
- old
+ new
@@ -70,19 +70,23 @@
# TEMPLATING ENGINE
# Map to define which kind of template engine for which type of file. Be careful if you
# overlap two definitions. Warning, it is ruby Regex not shell pattern !
:templating_engines_map:
- # Currently all files are rendered using ERB engine
+ # Haml for .haml files
+ :haml: '\.haml$'
+ # All the rest with ERB
:erb: '.*'
# Files matching particular patterns can be changed on the fly
:file_renaming_patterns:
# Specific .gitignore hack for `power_stencil init` as .gitignore should be processed
# *after* .ps_project
^(.+)\.zzzgitignore\.erb$: '\1.gitignore'
# Erb files
^(.+)\.erb$: '\1'
+ # Haml files
+ ^(.+)\.haml$: '\1'
# PLUGINS
# Define the property to avoid a nil. It represents the plugins that are provided