mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-20 18:42:02 +00:00
Add build log to templater
This commit is contained in:
1 parent
6a45031c96
commit
379aabebd6
6 files changed
+58
-12
No files matched your search
@@ -39,6 +39,8 @@ function Raw:project()
|
||||
}
|
||||
}
|
||||
|
||||
RawTemplater:use()
|
||||
|
||||
filter "files:not **/*.template"
|
||||
buildmessage 'Copying rawfile %{file.relpath}'
|
||||
buildcommands {
|
||||
@@ -59,10 +61,11 @@ function Raw:project()
|
||||
buildcommands {
|
||||
'"' .. TargetDirectoryBin .. '/' .. ExecutableByOs('RawTemplater') .. '"'
|
||||
.. " -o %{cfg.targetdir}/build/raw/%{file.reldirectory}"
|
||||
.. " --build-log \"%{prj.location}/build/%{file.relpath}.log\""
|
||||
.. " %{file.relpath}"
|
||||
}
|
||||
buildoutputs {
|
||||
"%{cfg.targetdir}/build/raw/%{file.relpath}"
|
||||
"%{prj.location}/build/%{file.relpath}.log"
|
||||
}
|
||||
filter {}
|
||||
end
|
||||
Reference in new issue
Block a user