Skip to content

Commit

Permalink
Merge pull request #3 from dafyddj/fix/answers-file
Browse files Browse the repository at this point in the history
fix: make the generated test suite handle the templated answer file
  • Loading branch information
dafyddj authored Jan 11, 2024
2 parents d63669d + 67ee0d0 commit 6b4d2f6
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion base
2 changes: 1 addition & 1 deletion copier.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
_subdirectory: template
_templates_suffix: .copier-jinja
_templates_suffix: .bootstrap-jinja
2 changes: 1 addition & 1 deletion template/test/GenerateProject/catalogue.tt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
The following new files/directories were created:
<Test Directory>
----.gitkeep
----.copier-answers.yml
2 changes: 1 addition & 1 deletion test/GenerateProject/catalogue.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The following new files/directories were created:
--------copier
----copier.yaml
----template
--------{{ _copier_conf.answers_file }}.jinja
--------{{ _copier_conf.answers_file }}.copier-jinja
----test
--------config.tt
--------options.tt
Expand Down
1 change: 1 addition & 0 deletions test/GenerateProject/catalogue_tt.tt
1 change: 1 addition & 0 deletions test/config.tt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ create_catalogues:true
discard_file:stderr

[collate_file]
catalogue_tt:test/GenerateProject/catalogue.tt
config_tt:test/config.tt
copier_yaml:copier.yaml
main_yml:.github/workflows/main.yml
Expand Down

0 comments on commit 6b4d2f6

Please sign in to comment.