summaryrefslogtreecommitdiff
path: root/src/tools/ivigenerator/templates_test.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ivigenerator/templates_test.yaml')
-rw-r--r--src/tools/ivigenerator/templates_test.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/ivigenerator/templates_test.yaml b/src/tools/ivigenerator/templates_test.yaml
new file mode 100644
index 0000000..f7b6b64
--- /dev/null
+++ b/src/tools/ivigenerator/templates_test.yaml
@@ -0,0 +1,12 @@
+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: