diff options
Diffstat (limited to 'src/tools/ivigenerator/templates/test.yaml')
-rw-r--r-- | src/tools/ivigenerator/templates/test.yaml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/tools/ivigenerator/templates/test.yaml b/src/tools/ivigenerator/templates/test.yaml index f7b6b64..fbd2801 100644 --- a/src/tools/ivigenerator/templates/test.yaml +++ b/src/tools/ivigenerator/templates/test.yaml @@ -1,12 +1,9 @@ -generate_rules: - module_rules: - - dest_file: "{{srcBase|lower}}.pri" - template_file: "module.pri.tpl" - - dest_file: 'main.cpp' - template_file: 'main.cpp.tpl' - interface_rules: - - dest_file: 'tst_{{interface|lower}}.cpp' - template_file: 'tst_test.cpp.tpl' - - dest_file: 'tst_{{interface|lower}}.h' - template_file: 'tst_test.h.tpl' - struct_rules: +test: + module: + documents: + - "{{srcBase|lower}}.pri": "module.pri.tpl" + - 'main.cpp': 'main.cpp.tpl' + interface: + documents: + - 'tst_{{interface|lower}}.cpp': 'tst_test.cpp.tpl' + - 'tst_{{interface|lower}}.h': 'tst_test.h.tpl' |