gruntwork-io / boilerplate

A tool for generating files and folders ("boilerplate") from a set of templates
https://www.gruntwork.io
Mozilla Public License 2.0
157 stars 12 forks source link

Adds skip_templating feature (#167) #184

Open rwittrick opened 2 weeks ago

rwittrick commented 2 weeks ago

Description

Fixes #167.

Adds the top level skip_templating config to boilerplate.yaml. In terms of config, it works the same as skip_files. skip_templating will copy any file matched in the config without rendering or templating it. skip_files takes precedence if a path is listed in both.

Release Notes (draft)

Added skip_templating feature.

denis256 commented 2 weeks ago
        --- FAIL: TestExamplesAsRemoteTemplate/group/skip-templating (5.73s)
        --- PASS: TestExamples/skip-not-path-multiple/skip-not-path-multiple-missing-key-error (0.00s)
    --- FAIL: TestExamples/skip-templating (0.02s)
        --- FAIL: TestExamples/skip-templating/skip-templating-missing-key-invalid (0.01s)
        --- FAIL: TestExamples/skip-templating/skip-templating-missing-key-zero (0.01s)
        --- FAIL: TestExamples/skip-templating/skip-templating-missing-key-error (0.01s)