Start templating engine.
This commit is contained in:
parent
c0bcfaccac
commit
cdd0cc6b78
9 changed files with 230 additions and 1 deletions
15
test/compiler/TestTemplatingEngine.cpp
Normal file
15
test/compiler/TestTemplatingEngine.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include "TemplatingEngine.h"
|
||||
|
||||
#include <filesystem>
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
const auto data_loc = std::filesystem::path(__FILE__) / "../../data";
|
||||
|
||||
auto engine = TemplatingEngine(data_loc);
|
||||
engine.loadTemplateFiles();
|
||||
engine.processTemplate("index");
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue