mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Integrating templating into rawfile pipeline
This commit is contained in:
@ -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}"
|
||||
|
Reference in New Issue
Block a user