Integrating templating into rawfile pipeline

This commit is contained in:
Jan
2022-09-06 00:12:34 +02:00
parent f574204e61
commit 6a45031c96
2 changed files with 7 additions and 2 deletions

View File

@ -53,8 +53,13 @@ function Raw:project()
filter "files:**/*.template"
buildmessage 'Templating %{file.relpath}'
buildinputs {
TargetDirectoryBin .. "/" .. ExecutableByOs('RawTemplater')
}
buildcommands {
"echo \"%{cfg.targetdir}/build/raw/%{file.reldirectory}\""
'"' .. TargetDirectoryBin .. '/' .. ExecutableByOs('RawTemplater') .. '"'
.. " -o %{cfg.targetdir}/build/raw/%{file.reldirectory}"
.. " %{file.relpath}"
}
buildoutputs {
"%{cfg.targetdir}/build/raw/%{file.relpath}"