Integrating templating into rawfile pipeline

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

No files matched your search

+6 -1
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}"