First working version of Mermaid class diagram generator
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
compilation_database_dir: ..
|
||||
output_directory: puml
|
||||
output_directory: diagrams
|
||||
diagrams:
|
||||
{{ name }}_{{ type }}:
|
||||
type: {{ type }}
|
||||
|
||||
@@ -38,7 +38,7 @@ TEST_CASE("{{ name }}", "[test-case][{{ type }}]")
|
||||
{{ examples }}
|
||||
|
||||
save_puml(
|
||||
config.output_directory() + "/" + diagram->name + ".puml", puml);
|
||||
config.output_directory(), diagram->name + ".puml", puml);
|
||||
}
|
||||
|
||||
{
|
||||
@@ -46,7 +46,7 @@ TEST_CASE("{{ name }}", "[test-case][{{ type }}]")
|
||||
|
||||
using namespace json;
|
||||
|
||||
save_json(config.output_directory() + "/" + diagram->name + ".json", j);
|
||||
save_json(config.output_directory(), diagram->name + ".json", j);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user