Skip to content

Commit

Permalink
feat: set templates_suffix for the generated template
Browse files Browse the repository at this point in the history
* use `.copier-jinja` as the `copier`-specific template suffix due to
  the extensive use of Jinja templates in Salt formulas
  • Loading branch information
dafyddj committed Jan 10, 2024
1 parent bb7c885 commit 1b86639
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base
Submodule base updated 1 files
+1 −0 copier.yaml
1 change: 1 addition & 0 deletions template/copier.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
_subdirectory: template
_templates_suffix: .copier-jinja
1 change: 1 addition & 0 deletions test/GenerateProject/copier_yaml.tt
1 change: 1 addition & 0 deletions test/config.tt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ discard_file:stderr

[collate_file]
config_tt:test/config.tt
copier_yaml:copier.yaml
main_yml:.github/workflows/main.yml
pre-commit_yaml:.pre-commit-config.yaml

0 comments on commit 1b86639

Please sign in to comment.