mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Add raw templater
This commit is contained in:
@ -39,7 +39,7 @@ function Raw:project()
|
||||
}
|
||||
}
|
||||
|
||||
filter "files:**"
|
||||
filter "files:not **/*.template"
|
||||
buildmessage 'Copying rawfile %{file.relpath}'
|
||||
buildcommands {
|
||||
-- Relpath contains two .. so build/raw is getting reverted in the target path
|
||||
@ -50,4 +50,14 @@ function Raw:project()
|
||||
"%{cfg.targetdir}/build/raw/%{file.relpath}"
|
||||
}
|
||||
filter {}
|
||||
|
||||
filter "files:**/*.template"
|
||||
buildmessage 'Templating %{file.relpath}'
|
||||
buildcommands {
|
||||
"echo \"%{cfg.targetdir}/build/raw/%{file.reldirectory}\""
|
||||
}
|
||||
buildoutputs {
|
||||
"%{cfg.targetdir}/build/raw/%{file.relpath}"
|
||||
}
|
||||
filter {}
|
||||
end
|
||||
|
Reference in New Issue
Block a user